Connector attribute SSLCertificateFile must be defined when using SSL with A

来源:互联网 发布:微软电脑软件 编辑:程序博客网 时间:2024/05/21 19:33

修改tomcat/conf/server.xml文件:

<Connectorport="8443" protocol="HTTP/1.1" maxThreads="150"SSLEnabled="true" scheme="https" secure="true"clientAuth="false" sslProtocol="TLS"

           keystoreFile="f:/keys/keystore"keystorePass="123456"/>

修改为:

<Connectorport="8443"protocol="org.apache.coyote.http11.Http11Protocol"maxThreads="150" SSLEnabled="true" scheme="https"secure="true" clientAuth="false" sslProtocol="TLS"

           keystoreFile="f:/keys/keystore"keystorePass="123456"/>


阅读全文
0 0
原创粉丝点击