标签:文件 org ble port src loading 技术 protoc mic
1.keytool生成p12文件
keytool -genkey -keypass 123456 -keyalg RSA -keysize 2048 -validity 36500 -keystore d:\test.p12 -storepass 123456 -deststoretype pkcs12
2.tomcat下的conf的server.xml进行如下配置
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
<SSLHostConfig>
<Certificate certificateKeystoreFile="d:\test.p12"
certificateKeystorePassword="123456"
certificateKeyPassword="123456" />
</SSLHostConfig>
</Connector>
3.启动tomcat,测试访问
标签:文件 org ble port src loading 技术 protoc mic
原文地址:https://www.cnblogs.com/sap-George/p/13173481.html