Upgrade OpenSSL to support TLS 1.2

OpenSSL is an open-source toolkit for Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols, as well as a cryptography library. The purpose of this article is to show how to update OpenSSL on the Ubuntu® operating system.

Check the current OpenSSL version

To verify the OpenSSL installation and version, you can execute the following command:

openssl version -a

If you are using Linux, you’ll need to know which distribution you are on. You can run cat /etc/*-release to find this information.

  • If you are using Ubuntu

    • 12.04 LTS (Precise), you will need to take package updates. You can do this by running sudo apt-get update && sudo apt-get install --only-upgrade openssl. You may also need to update your libssl. You can update this by running sudo apt-get update && sudo apt-get install --only-upgrade libssl-dev.

    • 10.10 (Maverick), 11.04 (Natty), or 11.10 (Oneiric), you will need to upgrade to at least Ubuntu 12.04 (Precise). The easiest way to do this is to rebuild your server, as upgrading from these non-LTS Ubuntu versions is not supported.

    • 10.04 LTS (Lucid), you will need to upgrade to at least Ubuntu 12.04 (Precise). We recommend rebuilding your server, as the upgrade process is risky.

  • If you are using RedHat Enterprise Linux, or CentOS

    • version 6, you will need to take package updates. You can do this by running sudo yum update openssl libcurl, and restarting your Stripe application.

    • version 5, you will need to upgrade to at least Red Hat Enterprise Linux 6. We recommend rebuilding your server, as the upgrade process is risky.

  • If you are using Debian, you will need to upgrade to at least Debian 7.0 (Wheezy).

  • If you are using any other Linux variant, you will need to ensure that running openssl version gives a version of at least 1.0.1. If it does not, you will need to take package updates, and may need to upgrade to a newer version of your operating system.

If you are using OS X, we recommend that you upgrade your OpenSSL version using Homebrew. You can run brew install openssl to install the latest version of OpenSSL on your machine, then brew install pythonbrew install rubybrew install php5, or brew install node to install a Homebrew-managed copy of your language. You will also need to reinstall any dependencies you had already installed.

If you are using a Windows machine, your development environment is providing your copy of OpenSSL. You can upgrade this by upgrading your development environment itself, i.e. your installation of Python, Ruby, PHP, or Node.

 Update all system packages

To update all system packages, not only OpenSSL, you need to update the list of available upgrades:

sudo apt-get update

To install all available new versions, run the command:

sudo apt-get upgrade
  • Upgrade OpenSSL
  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

How to Set Up a Mac for Your Kids

Providing children with access to a computer and the internet is increasingly important, but so...

How to Get Help With a Command from the Linux Terminal

Whether you’re an inexperienced terminal user or a grizzled veteran, you won’t always know the...

How to change the ssh port on Linux

To Change the SSH Port for Linux Server Connect to your server via SSH Switch to the root...

How To Install screenFetch in Linux

If you've browsed Linux groups on social media, you've probably seen a lot of screenshots that...

Static IP vs. Dynamic IP Address

A static IP address is one that remains fixed and never changes. The PC always sees the same...

Powered by WHMCompleteSolution