How connect to HTTPS via MFC internet classes

drjackool 956 Reputation points
2021-08-19T18:58:16.587+00:00

hi
to connecting a https server do I need certificate for my app or not? I usehttps flag on OpenRequest and Internetseioon classes but server detect my app as http not https!
thanks

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 11,356 Reputation points Microsoft External Staff
    2021-08-20T06:30:00.273+00:00

    @drjackool

    I suggest you could try to use INTERNET_FLAG_SECURE.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.