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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

690 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