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?


Yeah, installing the certificate automatically with a GPO would be a better solution.

| improve this answer | |
  • It is on company computers. But it's a problem if I need to show a external person (e.g. customer) something on the external device, or of you got 'Bring your own device' in your company, or when you are in a school in which teachers bring their own laptops... There are many cases when you cannot deploy the ca directly. – Zulakis Aug 18 '12 at 12:45

Looks like there is no better solution.

If anyone knows one, feel free to answer and I will accept it as best answer.

| improve this answer | |

A general approach might be to offer a starting point on http, that redirects to https and explains that if a user sees a "unknown certificate" warning he has to install the CA (refer to the browser-documentation on how to do this) because...

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.