tomcat 6.0.18 HTTPS 不工作
我正在尝试在本地主机上为 HTTPS 配置 tomcat。 我正在使用自签名认证。 我将以下代码行添加到 server.xml 中。
<Connector
port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" SSLEngine="on"
keystoreFile="path-to-keystore" keystorePass="password" />
我在浏览器中收到以下错误:
An error occurred during a connection to localhost:8443. Peer reports it experienced an internal error. (Error code: ssl_error_internal_error_alert)
任何人都可以指导我正确的方向吗?谢谢。
I am trying to configure tomcat for HTTPS on localhost.
I am using self signed certification.
I added folowing line of code to server.xml.
<Connector
port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" SSLEngine="on"
keystoreFile="path-to-keystore" keystorePass="password" />
I am getting following error in browser:
An error occurred during a connection to localhost:8443. Peer reports it experienced an internal error. (Error code: ssl_error_internal_error_alert)
Can anybody guide me to proper direction. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论