I recently ran into an error with a new nginx config that I couldn’t find anywhere on google! Turns out that was because I was reading the font wrongly and substitued a lower case L for a number 1. So if you ended up on this psage because you searched for SSL_CTX_setl_curves_list then try searching again, for SSL_CTX_set1_curves_list.
Just to complete the story — I had nginx throw this error when I included the line
This is because curve names ARE case sensitive, and the first curve is X25519!
ssl_ecdh_curve X25519:secp384r1:secp521r1:prime256v1;fixed it
Credit to github users
Found this useful? Please do let us know by dropping a comment below. If you would like to subscribe please use the subscribe link on the menu at the top right. You can also share this with your friends by using the social links below. Cheers.