Getting issue in certificate update, Please suggest what i can do for this
command:- certbot renew
here subdomain is my subdomain and domain is actual domain
Output:- -
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for subdomain
tls-sni-01 challenge for subdomain
tls-sni-01 challenge for domain
Cleaning up challenges
Attempting to renew cert (domain.com) from /etc/letsencrypt/renewal/domain.conf produced an unexpected error: Could not automatically find a matching server block for domain.com. Set the server_name
directive to use the Nginx installer… Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/domain.com/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/domain.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)