Upgrade OpenSSL to version 1.1.1
-
Hi everyone I am trying to upgrade OpenSSL to version 1.1.0 in a Libertine container.
The current version is 1.0.2g and if I runapt install openssl
it results as the latest.
I have tried to compile and install manually downloading this versionhttps://www.openssl.org/source/openssl-1.1.1b.tar.gz
but when I run the command./config --prefix=/opt/openssl --openssldir=/opt/openssl/ssl
I get the following error/usr/bin/env.fakechroot: 1: eval: -march=armv7-a: not found /usr/bin/env.fakechroot: 1: eval: -march=armv7-a: not found Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/arm-linux-gnueabihf/perl5/5.22 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base .) at ./Configure line 15. BEGIN failed--compilation aborted at ./Configure line 15.
Am I using the wrong version maybe?
-
@danval Why do you think you need to upgrade openssl to that version specifically? The security fixes in it were already backported to the 1.0.2g package in Ubuntu.
But the error is stating that you are missing a necessary
perl
package. You would need to install it to run the script. -
@dobey
I guess they need support for TLS 1.3 I had the same need at work.
And I bet 1.1.0 is a typo in the OP -
@dobey I am coming out of a rabbit hole where I am experimenting with installing
homeassistant
on my One plus one, which requires thecryptography
python package. The package dropped support for older versions of OpenSSL and the installation fails, so I am now trying to install a supported version -
perl is installed as
perl -v
returns 5.22.1
I suspect this version might not include FindBin module for some reason?
Looks like other people had this issue and missing modue is the suspected culprit. -
I have solved this by running
/usr/bin/perl ./Configure linux-armv4
instead of running./config
. Other than that followed the steps described here