winzip icon

SSL - SSLv2 and SSLv3 ( tls ) socket winsock

Submitted on: 5/10/2016 12:11:04 PM
By: Michiel 
Level: Advanced
User Rating: By 1 Users
Compatibility: VB 5.0, VB 6.0
Views: 13651
     I found this very hard to find source at the internet to use SSLv3 with a windows plain winsock for VB6 Ive included SSLv2 and SSLv3. SSLv2 is only included to give you a idea about SSL, it is not used anymore at any websites. I dont want any information about SSLv2. SSLv3 is what i want to have fixed, the problem is: For my Windows XP machine the code runs perfect to get the index.html from (althought it will show some error boxes), but it does not for , or, it will show (trappable) errors. BUT when i run this same project at my Windows 8.1 system, it will show errors even for and it does not get the index.html. PURPOSE: I would like to use a plain windows api socket or mswinsock ocx to my projects, and tell it what HTTPS file it must GET, without the need of the Inet control or the WinHttp.WinHttpRequest. All the methods that you need to do a handshake with a HTTPS server are included and to decrypt the data, but the project itself is very buggy. All we would like to have is a plain ms winsock, and to add the Crypto layer to it to connect to any HTTPS server Ive searched 2 days for this example, it was really very hard to find. But it need big improvements. PS: I did not change the SSLv3 project, the example i found was ment to turn on a server + client to use SSLv3, i just left the server part with it, mayble it can help you understand things better. I only got it working perfect for , it did give me the html information, but it does not work for Windows 8. If you can make this work in a plain and simple way and share it with us in here, you see it will have HUGE potential.

winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

5/10/2016 10:24:05 AMMichiel

This will need a Einstein to do it!.
(If this comment was disrespectful, please report it.)

5/17/2016 4:24:25 PMCrazy Dood

This should prove VERY useful to me, thanks!!!
(If this comment was disrespectful, please report it.)

2/4/2017 1:04:43 PMCyber Drone

this source is really great but this source do not work with maximum requrment. we need to make https post / get porperly work. thankyou
(If this comment was disrespectful, please report it.)


Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.