-keyform ENG and NodeJS

Erik Madsen emadsen at hbmachining.com
Mon Jun 3 00:49:10 UTC 2019

I am using a Hardware Security Module.  Both s_client and cURL work fine 
due to we can use the CLI "-keyform ENG" for s_client and "--key-type 
ENG" for curl

Is it possible to specify this in the openssl.cnf file instead of the CLI?

For testing this, the following works:

openssl s_client -connect host:port -engine engineSO -keyform ENG -cert 

If we can do like this:

OPENSSL_CONF=openssl.cnf openssl s_client -connect host:port -engine 
engineSO -cert /path/to/signed/cert (removed the -keyform)

I think will work fine

Any help greatly appreciated

More information about the openssl-users mailing list