reg SSL

  • Thread starter Thread starter Techeek
  • Start date Start date
T

Techeek

We are using SSL to provide security to our web application we have
created. But this shows a Security Alert Box every time any user logins. Can
any one pls tell me how this can be avoided? The same security alert box does
not come up when we login to gmail or some other secure sites.
 
Hi.

What certificate are you using to secure your service?
Is the certificate issuer trusted by the system?

In the case that you are using a certificate issued by untrusted CA, then
you can try to set the
ServicePointManager.ServerCertificateValidationCallback to your handler. E.g.
(as in http://blogs.msdn.com/adarshk/archive/2005/04/22/410925.aspx)

ServicePointManager.ServerCertificateValidationCallback =
delegate(
Object obj,
X509Certificate certificate, X509Chain chain,
SslPolicyErrors errors
)
{ return true; };
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top