How to check currently installed and in use versions of SSL and TLS

curlftpssslvsftpd

How can I check currently installed and in use versions of SSL and TLS?
Strangely I couldn't find an answer online.
Using Ubuntu 18.04.

Edit: Thanks all! I am asking this as I have trouble connecting from one ubuntu 18.04 server running curl to another with ftps server (vsftp). I get version error every time no meter which TLS version I ran curl with.

  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • error:1408F10B:SSL routines:ssl3_get_record:wrong version number
  • Closing connection 0

Best Answer

You can check the installed package version with dpkg -l | grep -i openssl. The actual TLS/SSL version used depends on what the server offers or what is negotiated between server and client in any given session.

Related Question