Solved

HTTPS Implementation in VC++

Posted on 2000-04-18
6
577 Views
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
0
Comment
Question by:prabhakarreddy
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

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

..B ekiM
0
 

Accepted Solution

by:
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.
0
 
LVL 11

Expert Comment

by:mikeblas
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
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Expert Comment

by:jenkins_pete
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:

http://support.microsoft.com/support/kb/articles/Q168/1/51.ASP

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?

Thanks!

email jenkins_pete@hotmail.com if needed.
0
 
LVL 11

Expert Comment

by:mikeblas
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
0
 

Expert Comment

by:jenkins_pete
ID: 2933592
New topic posted: "MS KB code incomplete"
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
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.

830 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