日期:2014-05-16 浏览次数:20713 次
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" />并添加如下代码
keystoreFile="conf\tomcat.key" keystorePass="123456",最终结果代码如下(见附件server.xml.rar):
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="conf\tomcat.key" keystorePass="123456" />
java.lang.Exception: No Certificate file specified or invalid file format错误信息,则将tomcat6的bin目录下的tcnative-1.dll文件删除并重启