Recompiling openssl library
stan
stanb at panix.com
Thu Jan 23 11:42:35 UTC 2020
I need to recompile the openssl library on the latest released version of
FreeBSD with the enable-weak-ssl-cipher option turned on.
I need to do this to connect to a large number of devices with old firmware
in them, and this is on an internal network.
I downloaded the openssl tarball from github, configured it this way, and
did a make, and make test. All went well. However the default location to
install this is /usr/local, so I thought it made more sense to compile the
version in the delivered tree with this option. I went to /usr/src and did a
successful make buildworld.
Now we get to my issue I see 2 places that the installed binaries might be
compile from. These are crypto/openssl or secure/usr.bin/openssl. Looking
in secure/usr.bin/openssl (post make buildworld) I do not see sources, just
some man pages. Looking in crypto/openssl I do find the sources. So, I
tried to run ./config with that option, and here is the result:
root at noc-server:/usr/src/crypto/openssl # ./config enable-weak-ssl-ciphers
Operating system: amd64-whatever-freebsd
Can't locate OpenSSL/Glob.pm in @INC (you may need to install the
OpenSSL::Glob module) (@INC contains: /usr/src/crypto/openssl/util/perl
/usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at ./Configure
line 20.
BEGIN failed--compilation aborted at ./Configure line 20.
Can't locate OpenSSL/Glob.pm in @INC (you may need to install the
OpenSSL::Glob module) (@INC contains: /usr/src/crypto/openssl/util/perl
/usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at ./Configure
line 20.
BEGIN failed--compilation aborted at ./Configure line 20.
This system (BSD-x86_64) is not supported. See file INSTALL for details.
What am I doing wrong?
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
More information about the freebsd-questions
mailing list