Failing to run fipsinstall on HP-UX #21507
Unanswered
sanchit-rubrik
asked this question in
Q&A
Replies: 1 comment 1 reply
-
First problem: 3.0.7 isn't FIPS validated. You must build either 3.0.0 or 3.0.8 to get an approved FIPS provider. Second problem: it looks like you need some kind of cross compilation setup. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
We are building OpenSSL 3.0.7 on an HP-UX ia64 11.31 machine (Build Machine), and using the generated
fips.so
file to generate a FIPS configuration file on a different HP-UX machine (User Machine; also ia64 11.31). When we try to runopenssl fipsinstall
on the User Machine, it fails withUnable to find library 'libgcc_s.so.0'
.Does the
fips.so
file have a dependancy ongcc
? Note that we had built OpenSSL using gcc, but the User Machine (the one on which we are runningopenssl fipsinstall
) doesn't havegcc
. It only has the bundled hpuxcc
compiler.Details on how we built OpenSSL 3.0.7
Details on the Build Machine
Commands used to build OpenSSL
Details on running fipsinstall
Then we copied the generated
openssl_build_dir/bin/openssl
binary andopenssl_build_dir/lib/hpux64/ossl-modules/fips.so
file to the User Machine, and ran this command:As you can notice the above command fails to load the FIPS module. Does
fipsinstall
run successfully only on the machine that we built OpenSSL on?We have a special use-case in which users would run our application on their machines, and in order to generate a FIPS configuration file on their machine, we bundle our application along with the
openssl binary
and thefips.so
file. Is there some way to generate the FIPS configuration file, without bundlinglibgcc_s.so.0
object file too? We confirmed that copyinglibgcc_s.so.0
to the User Machine and adding its path toSHLIB_PATH
helps runfipsinstall
successfully.Details on the User Machine
Any help or pointers on this is greatly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions