Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, As I have 100 different location and i wants to import and install .cer SSL certificate whenever my allpication needs to install on that machine by using the VC++ Code.is there a way to do it..?




Can anyone please help me ,



Thanks in advance
Posted
Updated 15-Jan-11 1:40am
v2

1 solution

Take a look at this:
How to programmatically install SSL certificates for Internet Information Server[^]

And here is some code that's supposed to do the job on a client:
http://www.openswan.org/download/windows/certimport/certimport/Main.cpp[^]

Here is a nice article, Making HTTP Communication from MFC/Windows Application[^], maybe it will help you to communication with the http server - good luck!

Regards
Espen Harlinn
 
Share this answer
 
v2
Comments
pankajprabhakar 17-Jan-11 2:10am    
Thanks Espen for your responce.but as first I wants to import the certificate from server which is on the IIS,as just like in browsers (we import certificates ) ,and here i don't want to use browser or is there a way to get certificate from server running browser in background.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900