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

C++
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.
3,559 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 9,261 Reputation points Microsoft Vendor
    2021-08-20T06:30:00.273+00:00

    @drjackool

    I suggest you could try to use INTERNET_FLAG_SECURE.