How to know the version of OpenSSL


Know OpenSSL Version Details

In order to know which version of OpenSSL has been installed you first need to type command openssl on the Terminal prompt and then type version

Example:
# openssl
OpenSSL> version
OpenSSL 1.1.1f  31 Mar 2020

You can use the below options to get more details,


 -a    To show all data.
 -b    To show the build date.
 -d    To show configuration directory.
 -e    To show engines directory.
 -f    To show compiler flags used.
 -o    To show some internal data options.
 -p    To show target build platform.
 -r    To show random seeding options.
 -v    To show the library version.
# version -a

OpenSSL 1.1.1f  31 Mar 2020
built on: Wed Mar  9 12:12:45 2022 UTC
platform: debian-arm64
options:  bn(64,64) rc4(char) des(int) blowfish(ptr) 
compiler: gcc -fPIC -pthread -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-D0VooA/openssl-1.1.1f=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_TLS_SECURITY_LEVEL=2 -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/aarch64-linux-gnu/engines-1.1"
Seeding source: os-specific
Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap