Not sure what im doing wrong

My domain is: rollinghillsrabbitry.com

I ran this command: sudo certbot --nginx

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter ‘c’ to cancel): www.rollinghillsrabbitry.com, rollinghillsrabbitry.com


You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/rollinghillsrabbitry.com.conf)

It contains these names: rollinghillsrabbitry.com

You requested these names for the new certificate: www.rollinghillsrabbitry.com,
rollinghillsrabbitry.com.

Do you want to expand and replace this existing certificate with the new
certificate?


(E)xpand/©ancel: e
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.rollinghillsrabbitry.com
Waiting for verification…
Cleaning up challenges
Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/www
Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/www
nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
Rolling back to previous server configuration…
nginx restart failed:
b’’
b’’

IMPORTANT NOTES:

  • We were unable to install your certificate, however, we
    successfully restored your server to its prior configuration.
  • Congratulations! Your certificate and chain have been saved at:
    /etc/letsencrypt/live/rollinghillsrabbitry.com/fullchain.pem
    Your key file has been saved at:
    /etc/letsencrypt/live/rollinghillsrabbitry.com/privkey.pem
    Your cert will expire on 2020-12-08. To obtain a new or tweaked
    version of this certificate in the future, simply run certbot again
    with the “certonly” option. To non-interactively renew all of
    your certificates, run “certbot renew”

My web server is (include version): nginx/1.18.0 (Ubuntu)

The operating system my web server runs on is (include version): Ubuntu 20.04.1 LTS

My hosting provider, if applicable, is: myself

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 1.8.0

I fail to see the reason for your topic…

Is there a problem?
What is the problem?

I got it fixed thank you.

1 Like