2013-11-02 118 views
0

我得到一个“Safari浏览器不能验证网站的身份”弹出,同时连接到我的网络服务器。然而所有其他浏览器chrome,IE,firefox都没有任何连接问题。我打开的文件的conf调试,并得到这个:Nginx的Safari浏览器的SSL错误

ssl error logs::http check ssl handshake 
2013/11/01 23:27:59 [debug] 16494#0: *240 http recv(): 1 
2013/11/01 23:27:59 [debug] 16494#0: *240 https ssl handshake: 0x16 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL server name: "www.unitedwifi.com" 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_do_handshake: -1 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_get_error: 2 
2013/11/01 23:27:59 [debug] 16494#0: *240 reusable connection: 0 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL handshake handler: 0 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_do_handshake: 1 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA SSLv3 Kx=ECDH Au=RSA Enc=AES(128) Mac=SHA1" 
2013/11/01 23:27:59 [debug] 16494#0: *240 reusable connection: 1 
2013/11/01 23:27:59 [debug] 16494#0: *240 http wait request handler 
2013/11/01 23:27:59 [debug] 16494#0: *240 malloc: 09307C40:1024 
2013/11/01 23:27:59 [debug] 16494#0: *240 posix_memalign: 09451B10:256 @16 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_read: -1 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_get_error: 2 
2013/11/01 23:27:59 [debug] 16494#0: *240 free: 09307C40 
2013/11/01 23:27:59 [debug] 16494#0: *240 http wait request handler 
2013/11/01 23:27:59 [debug] 16494#0: *240 malloc: 09307C40:1024 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_read: 242 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_read: -1 
2013/11/01 23:27:59 [debug] 16494#0: *240 SSL_get_error: 2 
2013/11/01 23:27:59 [debug] 16494#0: *240 reusable connection: 0 
2013/11/01 23:27:59 [debug] 16494#0: *240 posix_memalign: 0944C940:4096 @16 

I thought may be its a renegotiation issue with safari.. But I couldn't see anything in the logs regarding that.. 

Any ideas? 

回答

0

不管浏览器,我使用连接到“www.unitedwifi.com”我得到一个证书错误,这是因为该证书提供的服务器上只对CN = www.mileageplus.com

我可能是完全错误的,我相信这就是为什么Safari会给你一个密码套件,但实际上不会信任连接,除非你在密钥库中接受它/ keychain

+0

我遇到的问题是在VPN中。我的nginx主机unitedwifi门户。对于VeriSign签署的所有连接,我都使用通配符ssl证书,而不是“里程+”。其他浏览器似乎采取..我仍然无法调试确切的问题。您可能是对的,但我希望在日志中看到相应的消息。任何你可以建议调试这个更好的东西? – dev0

+0

如果您使用Mac,则打开终端并使用OpenSSL或cUrl。 命令如下; 'openssl s_client -connect www.unitedwifi.com:443' Or for Curl; 'curl -vvv https:// www.unitiedwifi.com' 我认为,两者都会为您提供正在接收的证书信息。您可以将域名更改为您认为合适的任何内容。 – RickK