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

啓動報

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,解決了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章