![ssl test tls 1.2 ssl test tls 1.2](http://www.opssys.com/InstantKB/Attachments/b881f378-bf2b-4f72-a3df-5ebd.png)
![ssl test tls 1.2 ssl test tls 1.2](https://i.stack.imgur.com/qopn1.png)
A simple response is returned which lets you know the result.Īlternatively, there is a website you can use that will check your SSL certificate and tell you which protocols it supports. How does this work? Simple! It’s just a basic script that accesses PayPal’s API endpoint which is designed only to determine whether TLS 1.2 and HTTP/1.1 are supported. A red message indicates that there is an issue. If you get a green “PayPal_Connection_OK”, then you’re all set! Your server fully supports these protocols. Follow the descriptions of the results on the page to determine whether you’ve passed, or what the issues are. You should easily get your answer! This page will let you know whether your site supports TLS 1.2 and HTTP/1.1. TLS 1.2 - will return will return an HTTP 400 response with the following text in the body: “ERROR! Connection is using TLS version lesser than 1.2. “ERROR! Connection is using HTTP/1.0 protocol. HTTP/1.1 - will return an HTTP 400 response with the following text in the body: HTTPS – will return an HTTP 400 response with the following text in the body: On failure: One of the following errors will occur depending on what your system does not support: On success: A successful connection to will return an HTTP 200 response with the following text in the body: “PayPal_Connection_OK”
Ssl test tls 1.2 code#
In that file, copy the following code in to the content of that page:Ĭurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1).Next, create a file called test.php in your site’s root folder.FTP or sFTP work best, but if you have an online file manager that will work fine as well. First, you’ll need access to your site’s files.All we need to do is add a simple test file to our site and check the results. The dubious nature of these “failed” warnings notwithstanding, it’s actually not very hard to check and see if your current server supports these protocols. They can tell you what versions of TLS are enabled for your SSL certificate, but cannot verify that the site itself is functioning properly using TLS 1.2, and they also cannot verify that HTTP/1.1 is supported. *Note: it’s not actually possible to enter in your URL to test for TLS support in a third-party website. If you’re here, you more than likely received a letter or warning from PayPal or your credit card provider that you failed a test or otherwise need to verify support of these things. With the upcoming changes to PCI compliance and the whole credit-card industry, it’s important to ensure that your SSL encryption supports TLS 1.2 and HTTP/1.1.