Localhost:“此站点无法提供安全连接”

时间:2017-09-18 21:23:55

标签: tomcat ssl network-programming port

我在端口8080上运行Tomcat服务器。当我转到localhost:8080时,我看到了正确的Tomcat启动页面。但是,当我尝试转到我在localhost:8080/my-site运行的所需应用时,我收到一条SSL错误,说“此网站无法提供安全连接”。我无法弄清楚出了什么问题。

我在Tomcat中的日志是指memcached,但我甚至认为我没有运行它。他们读了

2017-09-18 17:18:19.176 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for sun.nio.ch.SelectionKeyImpl@44d6a8bb
2017-09-18 17:18:19.176 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to failure to connect to {QA sa=w1qamc03.web1.mlbam.net/10.50.54.34:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
java.net.ConnectException: Operation timed out
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:629)
    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:409)
    at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1334)

我完全被困在这里。任何和所有的帮助将不胜感激。提前谢谢。

1 个答案:

答案 0 :(得分:1)

点击“高级”'在左下角然后点击类似的东西,无论如何都要继续。您的应用正在使用自签名证书实施HTTPS,您需要将其添加到允许的CA列表