tomcat - 本地主机 : "This site can’ t provide a secure connection"

标签 tomcat ssl network-programming port

我有一个运行在 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/

相关文章:

java - 将 Liferay 7.x 与 Oracle 11g2 外部数据库连接 - NullPointerException

REST 尝试连接到数据库时出现 java.sql.SQLException : No suitable driver,

eclipse - 每次重启时如何阻止 Eclipse 累积 Tomcat 实例?

java - 如何在 power mock 中为 org.asynchttpclient.AsyncHttpClient 创建模拟对象

ssl - 运行 Grails 新项目时 PKIX 路径验证失败

java - 客户端服务器tcp重置导致丢包

java - 当我们在 Eclips 中单击 "Run on Server"选项时,tomcat 在浏览器中打开主页(Ex :Index. jsp)的步骤是什么

azure - Azure 模拟器/IIS Express 和 SSL 客户端证书身份验证出现 web.config 错误

c++ - QTcpServer 检索多个地址

linux - 为什么正常调用 if_freenameindex 会双重释放 if_nameindex?