CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Posts
    1

    retrieve a server certificate

    Hi there, I would like to kwow how I could manually retrieve a server certificate from an https request, in order to check if it was the certificate I was waiting for ( Issuer, cn...).
    Actually I am trying to do so with the InternetQueryOption function of the wininet.dll what I want is to retrieve the server certificate in the Internet_option_security_certificate_struct
    but I am not sure if that's the way to get it, so If somebody could help me doing so I will sleep better.
    Thanks.
    Ricardo.


  2. #2
    Join Date
    Mar 2003
    Posts
    1

    retrieve a server certificate

    Has the issue of retrieving and verifying server certificate information (CA, Expiration Date, etc) been addressed? I've attempted the same InternetQueryOption with hopes that Internet_option_security_certificate_struct would return the cert info, but no luck.

    Any ideas?

    Thanks,
    Brad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured