I update Ubuntu a couple of days ago and started getting invalid certificate error when tying to get to my site. I cannot figure out what the issue. My firewall is configured correctly, Apache config test return ok, I am at a loss.
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. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: www.dosstroop.com
I ran this command: sudo certbot
It produced this output:
HTTP 200
Server: nginx
Date: Wed, 11 Oct 2023 23:00:21 GMT
Content-Type: application/json
Content-Length: 1069
Connection: keep-alive
Boulder-Requester: 1230318826
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: IAvmRRVVoaPpbVpxmUK_rbNiSn_dy88c6WSn_oRgDD5Ta8CajuY
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "www.dosstroop.com"
},
"status": "invalid",
"expires": "2023-10-18T23:00:07Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:connection",
"detail": "205.201.88.159: Fetching http://www.dosstroop.com/.well-known/acme-challenge/-hifhMx1fEUGy7yfDehpHoX5xTc0ybEgow0S262crJU: Timeout during connect (likely firewall problem)",
"status": 400
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/272968741546/BfmeCA",
"token": "-hifhMx1fEUGy7yfDehpHoX5xTc0ybEgow0S262crJU",
"validationRecord": [
{
"url": "http://www.dosstroop.com/.well-known/acme-challenge/-hifhMx1fEUGy7yfDehpHoX5xTc0ybEgow0S262crJU",
"hostname": "www.dosstroop.com",
"port": "80",
"addressesResolved": [
"205.201.88.159"
],
"addressUsed": "205.201.88.159"
}
],
"validated": "2023-10-11T23:00:10Z"
}
]
}
2023-10-11 18:00:21,409:DEBUG:acme.client:Storing nonce: IAvmRRVVoaPpbVpxmUK_rbNiSn_dy88c6WSn_oRgDD5Ta8CajuY
2023-10-11 18:00:21,409:INFO:certbot._internal.auth_handler:Challenge failed for domain dosstroop.com
2023-10-11 18:00:21,409:INFO:certbot._internal.auth_handler:Challenge failed for domain www.dosstroop.com
2023-10-11 18:00:21,409:INFO:certbot._internal.auth_handler:http-01 challenge for dosstroop.com
2023-10-11 18:00:21,409:INFO:certbot._internal.auth_handler:http-01 challenge for www.dosstroop.com
2023-10-11 18:00:21,409:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: dosstroop.com
Type: connection
Detail: 205.201.88.159: Fetching http://dosstroop.com/.well-known/acme-challenge/wyCqPBtDe-PmNpEfSxxYzbJnQGEIvEganh7E9cUlpMs: Timeout during connect (likely firewall problem)
Domain: www.dosstroop.com
Type: connection
Detail: 205.201.88.159: Fetching http://www.dosstroop.com/.well-known/acme-challenge/-hifhMx1fEUGy7yfDehpHoX5xTc0ybEgow0S262crJU: Timeout during connect (likely firewall problem)
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
My web server is (include version): Apache 2.4
The operating system my web server runs on is (include version):
Ubuntu 22.04
My hosting provider, if applicable, is:
Virtual Box
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.21.0