TLS 1.2 and HTTP/1.1 Upgrade and Verification

ChandanKarma
Contributor
Contributor

Hello All,

 

I am using Ruby Gem to integrate  it with Paypal and seems I already having TLS 1.2 and HTTP/1.1 setup but I am keep getting notices from paypal stating that we are not using TLS1.2 in our environment. 

 

I found this command in order to verify our TLS and seems all good. Can someone please assist me how I can verify the TLS settings based on my Ruby Gem environment.

#ruby -r'net/http' -e 'puts Net::HTTP.get(URI("https://tlstest.paypal.com/"))'

PayPal_Connection_OK

 

Thanks

 

 

Login to Me Too
1 REPLY 1

MTS_joaquim
Moderator
Moderator

Hello,

 

Getting the answer PayPal_Connection_OK from your server indeed indicates that your server is up to date in term o all the protocols needed to make the connection with HTTP/1.1 and TLS 1.2. Howver, if you received the alert. It means that, in their current state. Your scripts are not using those protocols to communicate with PayPal.

 

I would therefore invite you to make sure that your scripts correctly use TLS 1.2 and HTTP/1.1 for each request made to Paypal.

 

Some element of answer can be found here on how to make sure of this : https://stackoverflow.com/questions/11059059/is-it-possible-to-enable-tls-v1-2-in-ruby-if-so-how

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.