Tomcat配置Https报错-Connector attribute SSLCertificateFile must be defined when using SSL with APR

来源:互联网 发布:android 打开淘宝链接 编辑:程序博客网 时间:2024/05/16 11:43

启动报

Connector attribute SSLCertificateFile must be defined when using SSL with APR

  • conf\server.xml下的
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"    maxThreads="150" scheme="https" secure="true"    lientAuth="false" sslProtocol="TLS"     keystoreFile="F:\Service\key\tomcat.keystore"      keystorePass="tomcat"      ciphers="tomcat"/>

修改为

<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"    enableLookups="false"    acceptCount="100" disableUploadTimeout="true"    maxThreads="150" scheme="https" secure="true"    clientAuth="false" sslProtocol="TLS"    keystoreFile="F:\Service\key\tomcat.keystore"    keystorePass="tomcat" />

OK,解决了

0 0
原创粉丝点击