Check if root ca certificate is installed

Posted by Zulakis on Server Fault See other posts from Server Fault or by Zulakis
Published on 2012-08-16T10:31:06Z Indexed on 2012/09/08 21:40 UTC
Read the original article Hit count: 652

We are having a custom CA for our local-domains.

The Root CA certificate is installed on all the corporate machines by default, but sometimes it happens that we have someone here who doesn't have it installed.

If the user a) accesses our intranet using http or b) accepts the server-certificate I would like to redirect the user to a site which tells it what happened and how they can install the root CA.

The only solution I found was the following:

<img src="https://the_site/the_image" onerror="redirectToCertPage()">

This is barely a work-around and not really a solution. It can be triggered by other problems then the missing certificate.

Are there any better solutions on how to solve this problem?

© Server Fault or respective owner

Related posts about ssl

Related posts about certificate