Setting OPENSSL_MODULES inside openssl. cnf file

Richard Levitte levitte at
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 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.


Richard Levitte         levitte at
OpenSSL Project

More information about the openssl-users mailing list