0nginx curves error SSL_CTX_set1_curves_list

I recently ran into an error with a new nginx con­fig that I could­n’t find any­where on google! Turns out that was because I was read­ing the font wrongly and sub­stitued a lower case L for a num­ber 1. So if you ended up on this psage because you searched for SSL_CTX_setl_curves_list then try search­ing again, for SSL_CTX_set1_curves_list.

Just to com­plete the story — I had nginx throw this error when I included the line
ssl_ecdh_curve x25519:secp384r1:secp521r1:prime256v1;
This is because curve names ARE case sens­it­ive, and the first curve is X25519!
Using ssl_ecdh_curve X25519:secp384r1:secp521r1:prime256v1; fixed it
Cred­it to git­hub users

Leave a Reply