Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
OCI: Incorrect openssl version displayed
in Linux
Note: Please register a free account to access the full content and also to participate in Q&A in the community
Applies To:
Oracle Cloud Infrastructure
Linux x86-64
Symptoms
When running the “openssl version” command, the wrong version is shown.
$ sudo openssl version OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.2.2 4 Jun 2024)
This is an incorrect version, and does not reflect the version of the installed package.
Cause
1) Multiple copies of the “openssl” binary are located in the system.
$ sudo /usr/bin/whereis openssl openssl: /usr/bin/openssl /usr/local/bin/openssl
2) Check the PATH variable
# echo $PATH /root/.local/bin:/root/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Tagged:
0