Hello, I’m having some issues renewing of my domains. i seeing error:
nginx: [emerg] Unknown curve name “secp384r1:prime256v1” (SSL:)
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
It produced this output:
Processing /etc/letsencrypt/renewal/spotqoe-api.ofisqoe.com.conf
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for spotqoe-api.ofisqoe.com
tls-sni-01 challenge for www.spotqoe-api.ofisqoe.com
nginx: [emerg] Unknown curve name “secp384r1:prime256v1” (SSL:)
Cleaning up challenges
Attempting to renew cert (spotqoe-api.ofisqoe.com) from /etc/letsencrypt/renewal/spotqoe-api.ofisqoe.com.conf produced an unexpected error: nginx restart failed:
b’’
b’’. Skipping.
My web server is (include version): nginx/1.10.3
The operating system my web server runs on is (include version): ubuntu 16.04 LTS
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.21.1
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for spotqoe-api.ofisqoe.com
tls-sni-01 challenge for www.spotqoe-api.ofisqoe.com
nginx: [emerg] Unknown curve name "secp384r1:prime256v1" (SSL:)
Cleaning up challenges
Attempting to renew cert (spotqoe-api.ofisqoe.com) from /etc/letsencrypt/renewal/spotqoe-api.ofisqoe.com.conf produced an unexpected error: nginx restart failed:
b''
b''. Skipping.
Cert not yet due for renewal
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/spotqoe-api.ofisqoe.com/fullchain.pem (failure)
i try it and display my parsed nginx configuration and i comment it still get same error.
......
......
...... #ssl_ecdh_curve prime256v1;
ssl_prefer_server_ciphers on;
Cool, commenting out that one should fix it for you!
Of course, actually upgrading Certbot and nginx is preferable! You really must upgrade Certbot from the Ubuntu PPA, because yours is using TLS-SNI, which is being disabled imminently.