My domain is:
carroll-square.com is one of the domains. This is happening for multiple domains
I ran this command:
certbot certonly --webroot -w /mnt/fsetsprodzcusptl01/websites/carroll-square.com/httpdocs -d carroll-square.com -w /mnt/fsetsprodzcusptl01/websites/carroll-square.com/httpdocs -d www.carroll-square.com
It produced this output:
It got the certificate successfully, but it takes 4 -5 minutes
My web server is (include version):
nginx 1.21.6
The operating system my web server runs on is (include version):
Ubuntu 18.04.6
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 1.27.0
The portion of the logs where this is slow looks like this
Between the lines "Received response" and "Requesting a certificate" there is about a 4 minute delay.
This happens for all our domains.
2022-05-12 20:05:16,644:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 658
2022-05-12 20:05:16,644:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Thu, 12 May 2022 20:05:16 GMT
Content-Type: application/json
Content-Length: 658
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"i9TpIUJJ87E": "Adding random entries to the directory",
"keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
"website": "https://letsencrypt.org"
},
"newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct",
"newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce",
"newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order",
"revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert"
}
2022-05-12 20:09:50,428:DEBUG:certbot._internal.display.obj:Notifying user: Requesting a certificate for carroll-square.com and www.carroll-square.com
2022-05-12 20:10:02,132:DEBUG:certbot.crypto_util:Generating RSA key (2048 bits): /mnt/fsetsprodzcusptl01/certificates/keys/1018_key-certbot.pem