Localhost:“这个站点不能提供安全连接”

时间:2021-02-14 18:09:47

I have a server running on Tomcat on port 8080. When I go to localhost:8080 I see the proper Tomcat startup page. But, when I try to go to my desired app, which is running at localhost:8080/my-site I get a SSL-Error saying "This site can’t provide a secure connection". I cannot figure out what's wrong.

我有一个在8080端口上运行Tomcat的服务器。当我访问localhost:8080时,我看到了正确的Tomcat启动页面。但是,当我试图进入我想要的应用程序时,它运行在localhost:8080/my-site,我得到一个SSL-Error,说“这个站点不能提供一个安全连接”。我弄不明白是怎么回事。

My logs in Tomcat refer to memcached, but I don't even think I'm running it. They read

我在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)

I'm totally stuck here. Any and all help would be greatly appreciated. Thanks in advance.

我完全被困在这里。非常感谢您的帮助。提前谢谢。

1 个解决方案

#1


1  

Click 'Advanced' in the bottom left corner and then click something like 'proceed anyway. Your app is implementing HTTPS with a self signed certificate and you need to add it to your allowed CA list

在左下角点击“Advanced”,然后点击“继续”。您的应用程序正在实现带有自签名证书的HTTPS,您需要将其添加到您所允许的CA列表中。

#1


1  

Click 'Advanced' in the bottom left corner and then click something like 'proceed anyway. Your app is implementing HTTPS with a self signed certificate and you need to add it to your allowed CA list

在左下角点击“Advanced”,然后点击“继续”。您的应用程序正在实现带有自签名证书的HTTPS,您需要将其添加到您所允许的CA列表中。