Install on Ubuntu 20.04

Install on Ubuntu 20.04 is a tool that allows to check if service in the server supports specified SSL/TLS ciphers and protocols. This tool enables to test any SSL/TLS enabled service, not only webserver that running on port 443.

This tutorial demonstrates how to install on Ubuntu 20.04.


From GitHub repository get default branch name and assign it to variable:

DEFAULT_BRANCH_NAME=$(curl -s "" | grep -Po '"default_branch": "\K.+dev')

Run the following command to download

wget -O testssl.tar.gz${DEFAULT_BRANCH_NAME}.tar.gz

Create a new directory for storing and extract the tar.gz file to it:

sudo mkdir /opt/testssl
sudo tar xf testssl.tar.gz --strip-components=1 -C /opt/testssl

In /usr/local/bin directory we can create a symbolic link to the command:

sudo ln -s /opt/testssl/ /usr/local/bin/

Now command is available for all users as a system-wide command.

We can check version: --version

The tar.gz file is no longer need to keep, remove it:

rm -rf testssl.tar.gz


Execute the following command to test SSL/TLS enabled website:

Example of a part of the output:

 Testing protocols via sockets except NPN+ALPN

 SSLv2      not offered (OK)
 SSLv3      not offered (OK)
 TLS 1      offered (deprecated)
 TLS 1.1    offered (deprecated)
 TLS 1.2    offered (OK)
 TLS 1.3    offered (OK): final
 NPN/SPDY   grpc-exp, h2, http/1.1 (advertised)
 ALPN/HTTP2 h2, http/1.1, grpc-exp (offered)


If you want to completely remove, delete the installation directory:

sudo rm -rf /opt/testssl

Remove symbolic link:

sudo rm -rf /usr/local/bin/

Leave a Comment

Cancel reply

Your email address will not be published.