开发者

How to test failing of SSL certificate for certain visitors

For some of my site visitors, the SSL certificate is failing. Whatever tests I do on various browsers for me the SSL certificate is valid.

I can't think of how to test this on client side, and to identify the problem.

How would you do this?

One client gets: fatal 开发者_如何转开发certificate unknown


While RouMao's answer is mostly correct, he has missed what is (IME) the most common problem with SSL certificates - the certificate you are using requires an interim certificate from the CA which you have not included in your certificate chain. Most CAs provide an online tool for analysing the certificate - try the one located here.

Also, is there any correlation with which browser being used? Notably, Chrome does not handle SSL v2 by default


Most of the failing of SSL certificates were caused by visitors themselves. Somehow could not tests or verified by server implementation.

Here are some obvious examples:

  1. Your cert is validated since April 1st 2012, but the client's local machine time is set to 2010 -- one year later than current time. In this case, the visitor should encounter problem all the times, until his machine time is later than April 1st 2012.
  2. visitor is behind a restricted firewall. The firewall could terminate the SSL/TLS connection and re-crypt the link with a pseudo/self-sign certificate. Indeed this could be considered as a man-in-middle attach.
  3. The Trusted Root Certification was removed by client himself

it is very hard to fix all these problem. Sometimes, you need to create a client side native application to detect or fix all the possible problems, and require client browser to execute the application each time before it enter the HTTPS mode.

P.S. most of the e-bank application do like this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜