HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 


Go to solution
Jonathan Grymes
Frequent Advisor


HPUX 11.23 system. I downloaded from HP and installed OpenSSL_A.00.09.08l.002_HP-UX_B.11.23_IA_PA.depot.

# swlist | grep -i OPENSSL
OpenSSL A.00.09.08l.002 Secure Network Communications Protocol
openssl 0.9.8a openssl

However, when I check for version the old openssl is returned.
# openssl version
OpenSSL 0.9.7m 23 Feb 2007

The install instructions said I could install over an existing Openssl version.
/opt/openssl still shows 0.9.7 so Im thinking I should have removed the old version. What do you think? No additional config changes were in the install instructions.

Steven E. Protter
Exalted Contributor

Re: openssl


Both versions of openssl are installed.

The 0.9.7 version is found first on the PATH variable, which is used to find executables.

whence openssl
echo $PATH

Change the PATH or remove the old version and you are good to go.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Horia Chirculescu
Honored Contributor

Re: openssl

Hello, Jonathan.

You can find the path to the "current" used executable by:

[olt]:/var/opt/cmom # which openssl

You can find the location of the new installed openssl with find. See below the example.

Afther that, you can link /usr/bin/openssl to the newer binary like this:

[olt]:/var/opt/cmom #mv /usr/bin/openssl /usr/bin/openssl-097m
[olt]:/var/opt/cmom #ln -sf /usr/local/bin/openssl /usr/bin/openssl

Afther that you get what you want:

[olt]:/var/opt/cmom #openssl version
OpenSSL 0.9.8j 07 Jan 2009

I have re-constructed here your situation by installing a software depot:

[olt]:/var/opt/cmom # swlist |grep openssl
openssl 0.9.8j openssl

[olt]:/var/opt/cmom # openssl version
OpenSSL 0.9.7d 17 Mar 2004

[olt]:/var/opt/cmom # find / -name openssl -print

[olt]:/var/opt/cmom # /usr/bin/openssl version
OpenSSL 0.9.7d 17 Mar 2004

[olt]:/var/opt/cmom # /usr/local/bin/openssl version
OpenSSL 0.9.8j 07 Jan 2009
[olt]:/var/opt/cmom # which openssl

Best regards,
Best regards from Romania,