OCI: Incorrect openssl version displayed — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
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

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!