Setting OPENSSL_MODULES inside openssl. cnf file

Richard Levitte levitte at openssl.org
Fri Aug 18 12:38:51 UTC 2023


On Fri, 18 Aug 2023 12:54:59 +0200,
Ishani wrote:
> 
> Hi All, 
> 
>      Is it possible to set OPENSSL_MODULES environment variable inside openssl. cnf file? 
> 
> Tried few ways but looks it's not working, like declaring at top 
> 
> OPENSSL_MODULES =  $ENV::A/B

OPENSSL_MODULES that libcrypto uses comes from the environment.
Values to the same variable name in the config file doesn't propagate
to the environment, so yeah, that won't work.

I hear a desire to be able to set diverse directories in the config
file that are currently only possible to set with environment variables.
That would constitute a new feature...  one that I for one wouldn't be
opposed to, I might add.

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


More information about the openssl-users mailing list