On Wed, Apr 14, 2021 at 4:28 PM Hadi Abbasi
> I'm using openresty and my new requirement is support ssl TLSv1.3!
> All I wanna know is how can I use openssl 1.1.1x for supporting TLSv.1.3 site!
> I have built openssl1.1.1c & openresty master branch using these commands in ubuntu server!
> Error Message:
> [lua] dynamic-ssl.lua:188: failed to set DER private key: SSL_use_PrivateKey() failed, context: ssl_certificate_by_lua*, client: my-ip, server: 0.0.0.0:443
> SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: my-ip, server: 0.0.0.0:443
> dynamic-ssl.lua:188 --> local ok, err = ssl.set_der_priv_key(key_der)
> how can I fix it?
I honestly can't remember if it fixed the specific error above, but I
believe the following patch is required: