I have a need to install a openssl-fips-1.2.3, openssl 0.9.8w and openssh 5.9p1. Using rpm packages is not an option as those exact versions are required. The system is RHEL 5.7 2.6.18-274.el5.
I have downloaded the needed packages from openssl.org and openssh.org. The compile and install of openssl-fips and openssl worked without issue and are installed in
/usr/local/ssl/fips-1.0 (fips module)
/usr/local/ssl/fips (fips capable openssl).
Here is the output from a version check:
[root@localhost ssl]# ./fips/bin/openssl version
OpenSSL 0.9.8w-fips 23 Apr 2012
[root@localhost ssl]# ./fips-1.0/bin/openssl version
OpenSSL FIPS Object Module v1.2
So far, so good. Now to compile openssh with the openssl fips. I have tried several different paths via the "--with-ssl-headers" as well as "--with-ssl-dir" options. In all cases, I end up with this:
./configure
...
...
checking if openpty correctly handles controlling tty... yes
checking whether getpgrp requires zero arguments... yes
checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
configure: error: *** OpenSSL headers missing - please install first or check config.log ***
The config.log says it cant find "openssl/opensslv.h" This file is present... and in several locations:
/root/openssl-0.9.8w/include/openssl/opensslv.h
/root/openssl-0.9.8w/crypto/opensslv.h
/root/openssl-fips-1.2.3/include/openssl/opensslv.h
/root/openssl-fips-1.2.3/crypto/opensslv.h
/usr/include/opensslv.h
/usr/local/ssl/fips-1.0/include/openssl/opensslv.h
/usr/local/ssl/fips/include/openssl/opensslv.h
What am I missing and/or how can I resolve the above error?
I have downloaded the needed packages from openssl.org and openssh.org. The compile and install of openssl-fips and openssl worked without issue and are installed in
/usr/local/ssl/fips-1.0 (fips module)
/usr/local/ssl/fips (fips capable openssl).
Here is the output from a version check:
[root@localhost ssl]# ./fips/bin/openssl version
OpenSSL 0.9.8w-fips 23 Apr 2012
[root@localhost ssl]# ./fips-1.0/bin/openssl version
OpenSSL FIPS Object Module v1.2
So far, so good. Now to compile openssh with the openssl fips. I have tried several different paths via the "--with-ssl-headers" as well as "--with-ssl-dir" options. In all cases, I end up with this:
./configure
...
...
checking if openpty correctly handles controlling tty... yes
checking whether getpgrp requires zero arguments... yes
checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
configure: error: *** OpenSSL headers missing - please install first or check config.log ***
The config.log says it cant find "openssl/opensslv.h" This file is present... and in several locations:
/root/openssl-0.9.8w/include/openssl/opensslv.h
/root/openssl-0.9.8w/crypto/opensslv.h
/root/openssl-fips-1.2.3/include/openssl/opensslv.h
/root/openssl-fips-1.2.3/crypto/opensslv.h
/usr/include/opensslv.h
/usr/local/ssl/fips-1.0/include/openssl/opensslv.h
/usr/local/ssl/fips/include/openssl/opensslv.h
What am I missing and/or how can I resolve the above error?