Archived Forum Post

Index of archived forum posts

Question:

How to use TLS with Chilkat?

Dec 30 '15 at 08:08

I already use some of your ActiveX components, but am needing to find an ActiveX component for HTTP/HTTPS which will support both SSL and TLS.

I have looked at your example for VB6 called ‘Send XMLHttpRequest and Get Response’, but I am unclear how to use TLS with this code. I assume that SSL is used if the target URL has the prefix ‘https’, but what about TLS.


Answer

TLS is SSL -- it's just the next versions past SSL 3.0. The versions go: SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2, ...

The latest (non-draft) version of TLS is 1.2.

Virtually anytime you browse the web using "https://", you're using TLS 1.0, 1.1, or 1.2.

So.. to answer the question: With Chilkat you would simply use the prefix "https://" Chilkat will by-default use the latest version of TLS the server supports, and your app may place restrictions on what you allow via the SslProtocol property.