Check OpenSSL version Ubuntu linux

Here is the command to check the version of OpenSSL installed on Ubuntu linux machine:

openssl version

The output will be like this:

OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)