Hi there
Doing a program that is transfering data over an SSL connection (where the server issues the certificate)
What I want the client program to do is check that the SSL certificate is from who it should be from (to prevent possible man in the middle attacks).
How can I do this? I thought probably using InternetQueryOption with INTERNET_OPTION_SECURITY_CERTIFICATE as an option, this returns something into a INTERNET_CERTIFICATE_INFO structure but then don't know how to information out.
Cheers for any help
Brian
Doing a program that is transfering data over an SSL connection (where the server issues the certificate)
What I want the client program to do is check that the SSL certificate is from who it should be from (to prevent possible man in the middle attacks).
How can I do this? I thought probably using InternetQueryOption with INTERNET_OPTION_SECURITY_CERTIFICATE as an option, this returns something into a INTERNET_CERTIFICATE_INFO structure but then don't know how to information out.
Cheers for any help
Brian