Certbot --webroot -w /var/www/bigbluebutton-default/ -d mydomain certonly

Hello Everybody,

I made a web server (ubuntu + nginx) for elementary school (no money project) with no ssl. I’d like to use this cert generator for to change this to https site.

I use this command to create cert:
certbot --webroot -w /var/www/bigbluebutton-default/ -d mydomain certonly

I tried several times (I wrote before that the files were successful and they were created) but now I would move to a new server and I get the following error message:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
An unexpected error occurred:
There were too many requests of a given type :: Error creating new order :: too many certificates already issued for exact set of domains: mydomain: see https://letsencrypt.org/docs/rate-limits/
Please see the logfiles in /var/log/letsencrypt for more details.

I’d like to know when I can re-apply for certificates for the same domain on the new server?

Thanks.

Vlagyimir

Hi @vlagyimir

please read the link shared in the error message.

You can use the certificate + private key from your old server, you don't need to create a new certificate.

Dear Juergen!

If I tar the whole folder /etc/letsencrypt/live/mydomain/ from old server and copy the new server is ok?

Thanks!

Vlagyimir

No, it doesn’t have all of the data. If you tar all of /etc/letsencrypt/, that would work.

If other aspects of your setup have changed – for example, if your new server uses a different web root path – automatic certificate renewal might not work correctly until you fix it, but your current certificate files will be fine.

1 Like

It should. Assuming the rest of the configuration hasn't changed. (read the post above mine, I misread when replying. copy the whole /etc/letsencrypt dir)

(You may want to run certbot renew --dry-run after doing that)

1 Like

I try it, thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.