programmatically install a https-certificate in ie

M

Matthias Leonhardt

Hi,

My c#-prog shall call some https URLs at our webserver. It has a
self-signed certificate. I also use IE per COM-Control to call a website
at our server (also https).
How can I install the certificate programmatically through setup or in
the program itself in windows (or ie) to get rid of the security-warnings?
I wrote an own IServiceProvider but the IE.Navigate Calls always show
the warnings to install the certificate.

Is there a API function for this?

thanks for your help!

kind regards,
Matthias Leonhardt
 
M

Marc Jennings

I would really hope that there is *not* a function to do this
programmaticaly. Sites with a self signed certificate are the kind of
thing I'd want to have control over whether to accept or not.

We have a few https sites running here, and we allow them into the
trusted zone through Active Directory group policies. I'd look into
that if I were you.
 
M

Matthias Leonhardt

Hi Marc,
We have a few https sites running here, and we allow them into the
trusted zone through Active Directory group policies. I'd look into
that if I were you.
I think there is no difference wether I install the certificate in the
AD or at the users computer during install process of the program. If
there is a man-in-the-middle attack or ipspoofing the certificate
doesn't match and my program or the ie brings out a warning. All I want
is that the user needn't to download the certificate from server (which
could be dangerous if the user doesn't review the certificate) and
install because I can ship the certificate with my programs setup.exe.
So I need to know how to install it during setup process...

thanks for your help!
kind regards,
Matthias
 

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

Top