|
-
May 18th, 2006, 09:57 AM
#1
How to get the certificate for an SSL server (HTTPS)???
Hi all,
I do not belive it!! I tried to obtain the certificate for an SSL server (http connectio) but I cannot. I use "INTERNET_OPTION_SECURITY_CERTIFICATE" or "INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT", calling with InternetQueryOption (or CInternetSession::QueryOption). Dosen't matter what option I have the function fails and the result is allways ERROR_WINHTTP_INCORRECT_HANDLE_TYPE (The type of handle supplied is incorrect for this operation.).
Knows anybody how can I do this? Knows someone a piece of code where InternetQueryOption realy runs? Or is there another way to do this. I'm desparate...
Thanks in advance.
Regards,
Emil
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|