How do I upgrade my Stripe integration from TLS 1.1 to TLS 1.2?
To keep your communication with Stripe secure, we dropped support for TLS 1.0 and 1.1 on June 13 2018, in response to security concerns around these protocols. You can learn more about our upgrade to TLS 1.2 in this blog post.
If you’re seeing
InvalidRequestError errors with the message “Stripe no longer supports API requests made with TLS 1.1.”, you’ll need to update your Stripe integration to make requests with TLS 1.2 by taking package updates on your server.
To determine your Linux distribution, you can run
If you’re using Ubuntu or Debian, you can take package updates by running
sudo apt-get update && sudo apt-get install --only-upgrade libssl1.0.0.
If you’re using CentOS or RedHat, you’ll instead want to run
sudo yum update openssl libcurl.
Once you’ve taken updates, you’ll need to restart the application that’s using Stripe.