OPENSSL_CONF_INCLUDE does not seem to work in openssl 3.0.8 #21447
-
Hello, But that environment variable does not seem to have any impact. Our application is working only when we give absolute path or if we change the current working directory. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
A few steps to try:
Here's a sample program that uses environment variables to set the directory for finding Program
Configuration files
Output
Errors if environment variables are not set correctly
|
Beta Was this translation helpful? Give feedback.
-
I assume the setting of the environment variable happens too late after the config file is already loaded. |
Beta Was this translation helpful? Give feedback.
-
@t8m , I am not sure what I am missing here. Thanks |
Beta Was this translation helpful? Give feedback.
A few steps to try:
fipsmodule.cnf
exists in the directory set forOPENSSL_CONF_INCLUDE
openssl.cnf
by running$ openssl version -a | grep OPENSSLDIR
and verify if you haveopenssl.cnf
in that directoryopenssl.cnf
in the directory listed asOPENSSLDIR
in the previous step command, you could set another environment variableOPENSSL_CONF
(Reference) to the path ofopenssl.cnf
where it can be found after your product has been installed.OPENSSL_CONF
andOPENSSL_CONF_INCLUDE
are set, check iffips.dll
is availabl…