nginx using openssl chil engine

Jan Lewis janl at
Fri Dec 29 12:51:30 UTC 2017

anyone know how to setup nginx config for using an openssl chil engine? 

I have the following added as directives 

main context : 

ssl_engine chil; 

in the server context I reference to a preloaded private key as 

ssl_certificate_key    engine:chil:prikeyid;

when I run "nginx -t"  I get 

nginx: [emrg] ENGINE_load_private_key (“prikeyid”) failed (SSL: error: 26096075:engine routines:ENGINE_load_private_key:not initialised) 

What am I missing? or what do I need to check ? 

Thank you 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list