[openssl-users] Engine configuration

Dr. Stephen Henson steve at openssl.org
Mon Oct 2 21:16:10 UTC 2017

On Mon, Oct 02, 2017, Dmitry Belyavsky wrote:

> Hello,
> I have a question regarding engine configuration.
> We need to implement such behaviour:
> - on load the engine is configured with the commands from config file, but
> the values can be overwritten via environment

That part can be done with the config file syntax see config(5) 

> - application can change the engine's configuration via ENGINE_ctrl_string
> functions.
> Is there any way to distinguish whether engine is configured via the config
> file or via direct calls to ENGINE_ctrl* functions?

Not currently no: the config file calls the relevant control operations. 

Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

More information about the openssl-users mailing list