我有一个运行在 Tomcat 端口 8080 上的服务器。当我转到 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)
我完全被困在这里了。任何和所有帮助将不胜感激。提前致谢。
最佳答案
点击左下角的“高级”,然后点击“仍然继续”之类的内容。您的应用正在使用自签名证书实现 HTTPS,您需要将其添加到允许的 CA 列表中
关于tomcat - 本地主机 : "This site can’ t provide a secure connection",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46288436/