HTTPS Implementation in VC++

Posted on 2000-04-18
Last Modified: 2008-03-03
I have done HTTP component in vc++ which can get any file from webserver and put any file into webserver.

But i want to implement SSL ie..,HTTPS.

Please help in it with ideas and samples.

Prabhakar Reddi S
Question by:prabhakarreddy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 11

Expert Comment

ID: 2727695
I would just use WININET.DLL--it handles HTTPS just fine.

..B ekiM

Accepted Solution

lbelkind earned 75 total points
ID: 2811916
As an extension to the posted comment.
You should try using WinInet library (available from Microsoft). they have very simple interface, which can be used both for HTTP and HTTPS (seamlessly). All MFC HTTP Classes are based on this implementation, i.e. it is stable and working.
LVL 11

Expert Comment

ID: 2863338
An extension?  How did your "answer" provide any more information than I did?  As far as I can tell, you're just poaching.

..B ekiM
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 2922229
Here is more of an answer but I am not looking for points but rather more insight from mikeblas.

From the MS KB:

Using the code example HTTP connections work without error.  When specifing INTERNET_FLAG_SECURE and INTERNET_DEFAULT_HTTPS_PORT as specified the application hangs on execution.  Anyone have a code snippet or see what is wrong with this KB articles code?


email if needed.
LVL 11

Expert Comment

ID: 2925524
> what is wrong with this KB articles code?

The code is incomplete, but what it shows is not incorrect.

 > I am not looking for points but rather more insight from mikeblas.

Huh?  Then, shoudln't you open your own question and initiate a new discussion?

..B ekiM

Expert Comment

ID: 2933592
New topic posted: "MS KB code incomplete"

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question