0.9.8 and 1.0.2 versions are not binary compatible. So if your SSH server is built against the 0.9.8 version and it expects to be loading the libcrypto.so from that version it will not work against the libcrypto.so from 1.0.2. The SSH server has to be built against the 1.0.2 version to work with it. Tomas Mraz On Fri, 2022-03-25 at 09:54 +0000, Gaurav Mittal11 wrote: > Hi, > > I have build and installed 1.0.2u version but when I have change > below softlink point to 1.0.2u from 0.9.8, console from putty stopped > connecting. > This is something related to openssl.cnf or we need new certs and > private keys. > Please help on same or share any documentation on it. > > Note – 3.0.2 openssl version gives lot of compilation error, this > 1.0.2u openssl version I have got from HP-UX website. > http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/openssl-1.0.2u/ > > Server details - > HP-UX hvdnd73a B.11.31 U ia64 1869095592 unlimited-user license > > dr-xr-xr-x 2 bin bin 8192 Apr 30 2008 certs > dr-xr-xr-x 2 bin bin 96 Apr 30 2008 private > dr-xr-xr-x 4 bin bin 96 Jan 11 2012 fips > dr-xr-xr-x 9 bin bin 8192 Mar 15 05:08 0.9.8 > lrwxr-xr-x 1 root sys 9 Mar 15 06:14 man -> > 0.9.8/man > lrwxr-xr-x 1 root sys 9 Mar 15 06:14 src -> > 0.9.8/src > lrwxr-xr-x 1 root sys 17 Mar 15 06:14 openssl.cnf > -> 0.9.8/openssl.cnf > lrwxr-xr-x 1 root sys 12 Mar 15 06:14 README -> > 0.9.8/README > lrwxr-xr-x 1 root sys 9 Mar 15 06:14 doc -> > 0.9.8/doc > lrwxr-xr-x 1 root sys 13 Mar 15 06:14 include -> > 0.9.8/include > lrwxr-xr-x 1 root sys 9 Mar 15 06:14 bin -> > 0.9.8/bin > lrwxr-xr-x 1 root sys 10 Mar 15 06:14 misc -> > 0.9.8/misc > lrwxr-xr-x 1 root sys 9 Mar 15 06:14 lib -> > 0.9.8/lib > drwxr-xr-x 7 root sys 8192 Mar 15 06:42 1.0.2u > > > Following Configuration used for configuration, complication/build > and install – > > export CC=/opt/aCC/bin/aCC > export CFLAGS="+DD64 -mt" > export CPPFLAGS="+DD64 -mt" > export LDFLAGS="-L/usr/lib/hpux64/" > export PATH=/usr/local/bin:/usr/contrib/imake/bin:$PATH > ./Configure --prefix=/opt/openssl-1.0.2u -- > openssldir=/opt/openssl/1.0.2u --shared hpux64-ia64-cc > gmake depend > gmake > gmake install > > > > -- > Gaurav Mittal > -- Tomáš Mráz, OpenSSL