RE: I installed Openssl 1.1.1k and Ubuntu 20.04 did an upgrade and reverted it back to 1.1.1f. Usually Ubuntu upgrades don’t break it.

Michael McKenney mike.mckenney at scsiraidguru.com
Mon May 24 11:36:32 UTC 2021


Jakob, Thanks for all the help over the weekend.   I really appreciated the help.   I did a reply all to your first email to add openssl-users. 


These two servers for at my home.   They host many web sites.

These are some of them: 
https://wp.scsiraidguru.com
https://wp.michaelmckenney.com
https://science.scsiraidguru.com
https://ipv6.scsiraidguru.com

I followed this to setup Openssl on 1.1.1k.   I modified the code from 1.1.1h.   https://code.luasoftware.com/tutorials/linux/upgrade-openssl-on-ubuntu-20/

I did fix the libssl.   Openssl version points to 1.1.1k.   libssl points to 1.1.1f.    How do I install Openssl to get all the components to 1.1.1k?   

Here is a recap of the information you asked for.   

$ dpkg --status libssl1.1

 sudo dpkg --status libssl1.1
[sudo] password for michael:
Package: libssl1.1
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 4027
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: openssl
Version: 1.1.1f-1ubuntu2.4
Depends: libc6 (>= 2.25), debconf (>= 0.5) | debconf-2.0
Breaks: isync (<< 1.3.0-2), lighttpd (<< 1.4.49-2), python-boto (<< 2.44.0-1.1), python-httplib2 (<< 0.11.3-1), python-imaplib2 (<< 2.57-5), python3-boto (<< 2.44.0-1.1), python3-imaplib2 (<< 2.57-5)
Description: Secure Sockets Layer toolkit - shared libraries
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It provides the libssl and libcrypto shared libraries.
Homepage: https://www.openssl.org/
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel at lists.alioth.debian.org>



$ dpkg --status libssl-dev

 dpkg --status libssl-dev
Package: libssl-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 7818
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: openssl
Version: 1.1.1f-1ubuntu2.4
Depends: libssl1.1 (= 1.1.1f-1ubuntu2.4)
Suggests: libssl-doc
Conflicts: libssl1.0-dev
Description: Secure Sockets Layer toolkit - development files
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains development libraries, header files, and manpages for libssl
 and libcrypto.
Homepage: https://www.openssl.org/
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel at lists.alioth.debian.org>
michael at ubuntuwpmm1tb:~$



$ dpkg --status openssl

sudo dpkg --status openssl
Package: openssl
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1257
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 1.1.1f-1ubuntu2.4
Depends: libc6 (>= 2.15), libssl1.1 (>= 1.1.1)
Suggests: ca-certificates
Conffiles:
 /etc/ssl/openssl.cnf fb92a2dab53f11f4f5f22adc5257b553
Description: Secure Sockets Layer toolkit - cryptographic utility
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains the general-purpose command line binary /usr/bin/openssl,
 useful for cryptographic operations such as:
  * creating RSA, DH, and DSA key parameters;
  * creating X.509 certificates, CSRs, and CRLs;
  * calculating message digests;
  * encrypting and decrypting with ciphers;
  * testing SSL/TLS clients and servers;
  * handling S/MIME signed or encrypted mail.
Homepage: https://www.openssl.org/
Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel at lists.alioth.debian.org>



$ type openssl

type openssl
openssl is hashed (/usr/local/ssl/bin/openssl)



$ openssl version -a


openssl version -a
OpenSSL 1.1.1k  25 Mar 2021
built on: Thu May 20 12:00:48 2021 UTC
platform: linux-x86_64
options:  bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DZLIB -DNDEBUG
OPENSSLDIR: "/usr/local/ssl"
ENGINESDIR: "/usr/local/ssl/lib/engines-1.1"
Seeding source: os-specific
michael at ubuntuwpmm1tb:~$




$ ls -alF /usr/lib/x86_64-linux-gnu/libssl*


 ls -alF /usr/lib/x86_64-linux-gnu/libssl*
-rw-r--r-- 1 root root 598104 Apr 27 20:37 /usr/lib/x86_64-linux-gnu/libssl.so.1.1
michael at ubuntuwpmm1tb:~$





$ ls -alF /usr/locallib/libssl*

 ls -alF /usr/locallib/libssl*
ls: cannot access '/usr/locallib/libssl*': No such file or directory



$ ls -alF /usr/local/bin/openssl

 ls -alF /usr/local/bin/openssl
ls: cannot access '/usr/local/bin/openssl': No such file or directory



$ /usr/local/bin/openssl version -a

 /usr/local/bin/openssl version -a
-bash: /usr/local/bin/openssl: No such file or directory




More information about the openssl-users mailing list