Umesh Awasthi
Umesh Awasthi

Reputation: 23587

How to handle browser warning for SSL certificate

For the development we are using a self signed SSL certificate and it seems to work fine except one issue that for the first time when user click the URL browser will show the warning about certificate is not valid and we can easily bypass it by telling browser that we trust this site.

i have a use case where i need to load some data in Iframe and that data needs to be picked using HTTPS and the process is hidden and that Iframe is only visible when user click on a certain link. my problem is for the user who is visiting that site for the first time, when click on that link is getting browser error message.

is there any way to let browser trust our self signed certificate and not showing warning message?

Upvotes: 1

Views: 5903

Answers (2)

Christopher Schultz
Christopher Schultz

Reputation: 20862

These days there is really no reason to use a self-signed certificate and then try to figure out how to suppress client warnings. Instead, go to http://www.startssl.com/ and get yourself a free certificate that is recognized by all reasonably recent web browsers ( http://en.wikipedia.org/wiki/Startssl#Trustedness). Getting signed-into their website is a bit of a hassle (they require you to download a client-certificate and install it into your browser before you can request a server certificate) but then you can get free, trusted SSL certificates for your websites.

Upvotes: 7

Oleksi
Oleksi

Reputation: 13097

Your only two options are to tell the user to configure their browser to accept certificates signed by your organization, or to get the certificate signed by some CA browsers trust.

Upvotes: 5

Related Questions