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: docmariaj.com
I ran this command: sudo certbot renew --dry-run --debug-challenges -v
It produced this output:
2024-04-29 22:58:02,744:DEBUG:urllib3.connectionpool:http://localhost:None "GET /v2/connections?snap=certbot&interface=content HTTP/1.1" 200 97
2024-04-29 22:58:02,909:DEBUG:certbot._internal.main:certbot version: 2.10.0
2024-04-29 22:58:02,910:DEBUG:certbot._internal.main:Location of certbot entry point: /snap/certbot/3700/bin/certbot
2024-04-29 22:58:02,910:DEBUG:certbot._internal.main:Arguments: ['--dry-run', '--debug-challenges', '-v', '--preconfigured-renewal']
2024-04-29 22:58:02,910:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2024-04-29 22:58:02,930:DEBUG:certbot._internal.log:Root logging level set at 20
2024-04-29 22:58:02,932:DEBUG:certbot._internal.display.obj:Notifying user: Processing /etc/letsencrypt/renewal/docmariaj.com.conf
2024-04-29 22:58:02,934:DEBUG:certbot.configuration:Var server=https://acme-staging-v02.api.letsencrypt.org/directory (set by user).
2024-04-29 22:58:02,934:DEBUG:certbot.configuration:Var account=None (set by user).
2024-04-29 22:58:02,934:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2024-04-29 22:58:02,934:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2024-04-29 22:58:02,955:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2024-04-29 22:58:03,017:DEBUG:urllib3.connectionpool:http://r3.o.lencr.org:80 "POST / HTTP/1.1" 200 503
2024-04-29 22:58:03,018:DEBUG:certbot.ocsp:OCSP response for certificate /etc/letsencrypt/archive/docmariaj.com/cert1.pem is signed by the certificate's issuer.
2024-04-29 22:58:03,019:DEBUG:certbot.ocsp:OCSP certificate status for /etc/letsencrypt/archive/docmariaj.com/cert1.pem is: OCSPCertStatus.GOOD
2024-04-29 22:58:03,023:DEBUG:certbot._internal.storage:Should renew, less than 30 days before certificate expiry 2024-05-18 22:22:07 UTC.
2024-04-29 22:58:03,023:INFO:certbot._internal.renewal:Certificate is due for renewal, auto-renewing...
2024-04-29 22:58:03,023:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2024-04-29 22:58:03,123:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.57
2024-04-29 22:58:03,365:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: EntryPoint(name='apache', value='certbot_apache._internal.entrypoint:ENTRYPOINT', group='certbot.plugins')
Initialized: <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0>
Prep: True
2024-04-29 22:58:03,366:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: EntryPoint(name='apache', value='certbot_apache._internal.entrypoint:ENTRYPOINT', group='certbot.plugins')
Initialized: <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0>
Prep: True
2024-04-29 22:58:03,366:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0> and installer <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0>
2024-04-29 22:58:03,366:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2024-04-29 22:58:03,431:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-staging-v02.api.letsencrypt.org/acme/acct/146393794', new_authzr_uri=None, terms_of_service=None), c3abde54d27d690594dd41b9499ed20e, Meta(creation_dt=datetime.datetime(2024, 4, 29, 14, 35, 49, tzinfo=<UTC>), creation_host='drmj', register_to_eff=None))>
2024-04-29 22:58:03,432:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/directory.
2024-04-29 22:58:03,458:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org:443
2024-04-29 22:58:03,601:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 821
2024-04-29 22:58:03,601:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
"/var/log/letsencrypt/letsencrypt.log" 353L, 23225B
2024-04-29 22:58:02,744:DEBUG:urllib3.connectionpool:http://localhost:None "GET /v2/connections?snap=certbot&interface=content HTTP/1.1" 200 97
2024-04-29 22:58:02,909:DEBUG:certbot._internal.main:certbot version: 2.10.0
2024-04-29 22:58:02,910:DEBUG:certbot._internal.main:Location of certbot entry point: /snap/certbot/3700/bin/certbot
2024-04-29 22:58:02,910:DEBUG:certbot._internal.main:Arguments: ['--dry-run', '--debug-challenges', '-v', '--preconfigured-renewal']
2024-04-29 22:58:02,930:DEBUG:certbot._internal.log:Root logging level set at 20
2024-04-29 22:58:02,932:DEBUG:certbot._internal.display.obj:Notifying user: Processing /etc/letsencrypt/renewal/docmariaj.com.conf
2024-04-29 22:58:02,934:DEBUG:certbot.configuration:Var server=https://acme-staging-v02.api.letsencrypt.org/directory (set by user).
2024-04-29 22:58:02,934:DEBUG:certbot.configuration:Var account=None (set by user).
2024-04-29 22:58:02,934:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2024-04-29 22:58:02,934:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2024-04-29 22:58:02,955:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2024-04-29 22:58:03,017:DEBUG:urllib3.connectionpool:http://r3.o.lencr.org:80 "POST / HTTP/1.1" 200 503
2024-04-29 22:58:03,018:DEBUG:certbot.ocsp:OCSP response for certificate /etc/letsencrypt/archive/docmariaj.com/cert1.pem is signed by the certificate's issuer.
2024-04-29 22:58:03,019:DEBUG:certbot.ocsp:OCSP certificate status for /etc/letsencrypt/archive/docmariaj.com/cert1.pem is: OCSPCertStatus.GOOD
2024-04-29 22:58:03,023:DEBUG:certbot._internal.storage:Should renew, less than 30 days before certificate expiry 2024-05-18 22:22:07 UTC.
2024-04-29 22:58:03,023:INFO:certbot._internal.renewal:Certificate is due for renewal, auto-renewing...
2024-04-29 22:58:03,023:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2024-04-29 22:58:03,123:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.57
2024-04-29 22:58:03,365:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: EntryPoint(name='apache', value='certbot_apache._internal.entrypoint:ENTRYPOINT', group='certbot.plugins')
Initialized: <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0>
Prep: True
2024-04-29 22:58:03,366:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: EntryPoint(name='apache', value='certbot_apache._internal.entrypoint:ENTRYPOINT', group='certbot.plugins')
Initialized: <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0>
Prep: True
2024-04-29 22:58:03,366:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2024-04-29 22:58:03,432:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/directory.
2024-04-29 22:58:03,458:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org:443
2024-04-29 22:58:03,601:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 821
2024-04-29 22:58:03,601:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"XjpIh54HFno": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
"keyChange": "https://acme-staging-v02.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf",
"website": "https://letsencrypt.org/docs/staging-environment/"
},
"newAccount": "https://acme-staging-v02.api.letsencrypt.org/acme/new-acct",
"newNonce": "https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce",
"newOrder": "https://acme-staging-v02.api.letsencrypt.org/acme/new-order",
"renewalInfo": "https://acme-staging-v02.api.letsencrypt.org/draft-ietf-acme-ari-02/renewalInfo/",
"revokeCert": "https://acme-staging-v02.api.letsencrypt.org/acme/revoke-cert"
}
2024-04-29 22:58:03,603:DEBUG:certbot._internal.display.obj:Notifying user: Simulating renewal of an existing certificate for docmariaj.com
2024-04-29 22:58:03,606:DEBUG:acme.client:Requesting fresh nonce
2024-04-29 22:58:03,606:DEBUG:acme.client:Sending HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce.
2024-04-29 22:58:03,653:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "HEAD /acme/new-nonce HTTP/1.1" 200 0
2024-04-29 22:58:03,654:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: vU6liGrnrOaq49saNQY_9NraAQRtGMM6p2RlcS-EAIHwRBLhzb0
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
2024-04-29 22:58:03,655:DEBUG:acme.client:Storing nonce: vU6liGrnrOaq49saNQY_9NraAQRtGMM6p2RlcS-EAIHwRBLhzb0
2024-04-29 22:58:03,655:DEBUG:acme.client:JWS payload:
"payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogImRvY21hcmlhai5jb20iCiAgICB9CiAgXQp9"
}
2024-04-29 22:58:03,757:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 201 352
2024-04-29 22:58:03,758:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
Content-Type: application/json
Content-Length: 352
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Location: https://acme-staging-v02.api.letsencrypt.org/acme/order/146393794/16231208414
Replay-Nonce: gP7UL-1g2AK8vei67u-BXd1-luCvZlbKam-TffR-yuv0gg9iylw
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"status": "pending",
"expires": "2024-05-07T02:58:03Z",
"identifiers": [
{
"type": "dns",
"value": "docmariaj.com"
}
],
"authorizations": [
"https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584"
],
"finalize": "https://acme-staging-v02.api.letsencrypt.org/acme/finalize/146393794/16231208414"
}
2024-04-29 22:58:03,758:DEBUG:acme.client:Storing nonce: gP7UL-1g2AK8vei67u-BXd1-luCvZlbKam-TffR-yuv0gg9iylw
2024-04-29 22:58:03,758:DEBUG:acme.client:JWS payload:
b''
2024-04-29 22:58:03,761:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584:
{
"payload": ""
}
2024-04-29 22:58:03,815:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/12191505584 HTTP/1.1" 200 818
2024-04-29 22:58:03,816:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
Content-Type: application/json
Content-Length: 818
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: gP7UL-1gcMsWUdGYMAs0i-VYU1_bCnqbEneTxSuYDFm27_SUF5c
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "docmariaj.com"
},
"status": "pending",
"expires": "2024-05-07T02:58:03Z",
"challenges": [
{
"type": "http-01",
"status": "pending",
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo"
},
{
"type": "dns-01",
"status": "pending",
"type": "tls-alpn-01",
"status": "pending",
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/83THPg",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo"
}
]
}
2024-04-29 22:58:03,816:DEBUG:acme.client:Storing nonce: gP7UL-1gcMsWUdGYMAs0i-VYU1_bCnqbEneTxSuYDFm27_SUF5c
2024-04-29 22:58:03,817:INFO:certbot._internal.auth_handler:Performing the following challenges:
2024-04-29 22:58:03,818:INFO:certbot._internal.auth_handler:http-01 challenge for docmariaj.com
2024-04-29 22:58:03,823:DEBUG:certbot_apache._internal.http_01:Adding a temporary challenge validation Include for name: www.docmariaj.com in: /etc/httpd/conf.d/drmj.conf
2024-04-29 22:58:03,824:DEBUG:certbot_apache._internal.http_01:Adding a temporary challenge validation Include for name: www.docmariaj.com in: /etc/httpd/conf.d/drmj.conf
2024-04-29 22:58:03,824:DEBUG:certbot_apache._internal.http_01:Adding a temporary challenge validation Include for name: None in: /etc/httpd/conf.d/ssl.conf
2024-04-29 22:58:03,824:DEBUG:certbot_apache._internal.http_01:writing a pre config file with text:
RewriteEngine on
RewriteRule ^/\.well-known/acme-challenge/([A-Za-z0-9-_=]+)$ /var/lib/letsencrypt/http_challenges/$1 [END]
2024-04-29 22:58:03,825:DEBUG:certbot_apache._internal.http_01:writing a post config file with text:
<Directory /var/lib/letsencrypt/http_challenges>
Require all granted
</Directory>
<Location /.well-known/acme-challenge>
Require all granted
</Location>
2024-04-29 22:58:03,873:DEBUG:certbot.reverter:Creating backup of /etc/httpd/conf.d/ssl.conf
2024-04-29 22:58:03,874:DEBUG:certbot.reverter:Creating backup of /etc/httpd/conf.d/drmj.conf
2024-04-29 22:58:07,044:DEBUG:certbot._internal.display.obj:Notifying user: Challenges loaded. Press continue to submit to CA.
The following URLs should be accessible from the internet and return the value
Expected value:
u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo._vG2tjEsgYCEpA0xZzVQFmGuCENx2kgRdmdYYW37WXY
2024-04-29 22:58:07,045:DEBUG:acme.client:JWS payload:
b'{}'
2024-04-29 22:58:07,047:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q:
{
"payload": "e30"
}
2024-04-29 22:58:07,112:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/chall-v3/12191505584/4V3C4Q HTTP/1.1" 200 194
2024-04-29 22:58:07,113:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:07 GMT
Content-Type: application/json
Content-Length: 194
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index", <https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584>;rel="up"
Location: https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q
Replay-Nonce: vU6liGrnVd3SNEBOYoB2i-KOXewjCAkdnIFRIiMcwd9sScYMuUM
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"type": "http-01",
"status": "pending",
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo"
}
2024-04-29 22:58:07,113:DEBUG:acme.client:Storing nonce: vU6liGrnVd3SNEBOYoB2i-KOXewjCAkdnIFRIiMcwd9sScYMuUM
2024-04-29 22:58:07,113:INFO:certbot._internal.auth_handler:Waiting for verification...
2024-04-29 22:58:08,115:DEBUG:acme.client:JWS payload:
b''
2024-04-29 22:58:08,117:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584:
{
"payload": ""
}
2024-04-29 22:58:08,171:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/12191505584 HTTP/1.1" 200 1145
2024-04-29 22:58:08,171:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:08 GMT
Content-Type: application/json
Content-Length: 1145
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: vU6liGrndjd3GQccW8aA6RIUOJA09WXcabHX6rQ7KstNfuja5oc
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "docmariaj.com"
},
"status": "invalid",
"expires": "2024-05-07T02:58:03Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "178.128.228.102: Invalid response from http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo: 400",
"status": 403
},
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"validationRecord": [
{
"url": "http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"hostname": "docmariaj.com",
"port": "80",
"addressesResolved": [
"178.128.228.102"
],
"addressUsed": "178.128.228.102",
"resolverAddrs": [
"A:10.0.32.85:28460",
"AAAA:10.0.32.88:27567"
]
}
],
"validated": "2024-04-30T02:58:07Z"
}
]
}
2024-04-29 22:58:08,171:DEBUG:acme.client:Storing nonce: vU6liGrndjd3GQccW8aA6RIUOJA09WXcabHX6rQ7KstNfuja5oc
2024-04-29 22:58:08,172:INFO:certbot._internal.auth_handler:Challenge failed for domain docmariaj.com
2024-04-29 22:58:08,172:INFO:certbot._internal.auth_handler:http-01 challenge for docmariaj.com
2024-04-29 22:58:08,172:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: docmariaj.com
Type: unauthorized
Detail: 178.128.228.102: Invalid response from http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo: 400
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.
2024-04-29 22:58:08,173:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/3700/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/var/lib/snapd/snap/certbot/3700/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
2024-04-29 22:58:02,744:DEBUG:urllib3.connectionpool:http://localhost:None "GET /v2/connections?snap=certbot&interface=content HTTP/1.1" 200 97
2024-04-29 22:58:02,909:DEBUG:certbot._internal.main:certbot version: 2.10.0
2024-04-29 22:58:02,910:DEBUG:certbot._internal.main:Location of certbot entry point: /snap/certbot/3700/bin/certbot
2024-04-29 22:58:02,910:DEBUG:certbot._internal.main:Arguments: ['--dry-run', '--debug-challenges', '-v', '--preconfigured-renewal']
2024-04-29 22:58:02,930:DEBUG:certbot._internal.log:Root logging level set at 20
2024-04-29 22:58:02,932:DEBUG:certbot._internal.display.obj:Notifying user: Processing /etc/letsencrypt/renewal/docmariaj.com.conf
2024-04-29 22:58:02,934:DEBUG:certbot.configuration:Var server=https://acme-staging-v02.api.letsencrypt.org/directory (set by user).
2024-04-29 22:58:02,934:DEBUG:certbot.configuration:Var account=None (set by user).
2024-04-29 22:58:02,934:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2024-04-29 22:58:02,934:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2024-04-29 22:58:02,955:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2024-04-29 22:58:03,017:DEBUG:urllib3.connectionpool:http://r3.o.lencr.org:80 "POST / HTTP/1.1" 200 503
2024-04-29 22:58:03,018:DEBUG:certbot.ocsp:OCSP response for certificate /etc/letsencrypt/archive/docmariaj.com/cert1.pem is signed by the certificate's issuer.
2024-04-29 22:58:03,019:DEBUG:certbot.ocsp:OCSP certificate status for /etc/letsencrypt/archive/docmariaj.com/cert1.pem is: OCSPCertStatus.GOOD
2024-04-29 22:58:03,023:DEBUG:certbot._internal.storage:Should renew, less than 30 days before certificate expiry 2024-05-18 22:22:07 UTC.
2024-04-29 22:58:03,023:INFO:certbot._internal.renewal:Certificate is due for renewal, auto-renewing...
2024-04-29 22:58:03,023:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2024-04-29 22:58:03,123:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.57
2024-04-29 22:58:03,365:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: EntryPoint(name='apache', value='certbot_apache._internal.entrypoint:ENTRYPOINT', group='certbot.plugins')
Initialized: <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0>
Prep: True
2024-04-29 22:58:03,366:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: EntryPoint(name='apache', value='certbot_apache._internal.entrypoint:ENTRYPOINT', group='certbot.plugins')
Initialized: <certbot_apache._internal.override_centos.CentOSConfigurator object at 0x7fbe615990a0>
Prep: True
2024-04-29 22:58:03,366:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2024-04-29 22:58:03,432:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/directory.
2024-04-29 22:58:03,458:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org:443
2024-04-29 22:58:03,601:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 821
2024-04-29 22:58:03,601:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"XjpIh54HFno": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
"keyChange": "https://acme-staging-v02.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf",
"website": "https://letsencrypt.org/docs/staging-environment/"
},
"newAccount": "https://acme-staging-v02.api.letsencrypt.org/acme/new-acct",
"newNonce": "https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce",
"newOrder": "https://acme-staging-v02.api.letsencrypt.org/acme/new-order",
"renewalInfo": "https://acme-staging-v02.api.letsencrypt.org/draft-ietf-acme-ari-02/renewalInfo/",
"revokeCert": "https://acme-staging-v02.api.letsencrypt.org/acme/revoke-cert"
}
2024-04-29 22:58:03,603:DEBUG:certbot._internal.display.obj:Notifying user: Simulating renewal of an existing certificate for docmariaj.com
2024-04-29 22:58:03,606:DEBUG:acme.client:Requesting fresh nonce
2024-04-29 22:58:03,606:DEBUG:acme.client:Sending HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce.
2024-04-29 22:58:03,653:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "HEAD /acme/new-nonce HTTP/1.1" 200 0
2024-04-29 22:58:03,654:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: vU6liGrnrOaq49saNQY_9NraAQRtGMM6p2RlcS-EAIHwRBLhzb0
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
2024-04-29 22:58:03,655:DEBUG:acme.client:Storing nonce: vU6liGrnrOaq49saNQY_9NraAQRtGMM6p2RlcS-EAIHwRBLhzb0
2024-04-29 22:58:03,655:DEBUG:acme.client:JWS payload:
"payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogImRvY21hcmlhai5jb20iCiAgICB9CiAgXQp9"
}
2024-04-29 22:58:03,757:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 201 352
2024-04-29 22:58:03,758:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
Content-Type: application/json
Content-Length: 352
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Location: https://acme-staging-v02.api.letsencrypt.org/acme/order/146393794/16231208414
Replay-Nonce: gP7UL-1g2AK8vei67u-BXd1-luCvZlbKam-TffR-yuv0gg9iylw
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"status": "pending",
"expires": "2024-05-07T02:58:03Z",
"identifiers": [
{
"type": "dns",
"value": "docmariaj.com"
}
],
"authorizations": [
"https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584"
],
"finalize": "https://acme-staging-v02.api.letsencrypt.org/acme/finalize/146393794/16231208414"
}
2024-04-29 22:58:03,758:DEBUG:acme.client:Storing nonce: gP7UL-1g2AK8vei67u-BXd1-luCvZlbKam-TffR-yuv0gg9iylw
2024-04-29 22:58:03,758:DEBUG:acme.client:JWS payload:
b''
2024-04-29 22:58:03,761:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584:
{
"payload": ""
}
2024-04-29 22:58:03,815:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/12191505584 HTTP/1.1" 200 818
2024-04-29 22:58:03,816:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:03 GMT
Content-Type: application/json
Content-Length: 818
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: gP7UL-1gcMsWUdGYMAs0i-VYU1_bCnqbEneTxSuYDFm27_SUF5c
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "docmariaj.com"
},
"status": "pending",
"expires": "2024-05-07T02:58:03Z",
"challenges": [
{
"type": "http-01",
"status": "pending",
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo"
},
{
"type": "dns-01",
"status": "pending",
"type": "tls-alpn-01",
"status": "pending",
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/83THPg",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo"
}
]
}
2024-04-29 22:58:03,816:DEBUG:acme.client:Storing nonce: gP7UL-1gcMsWUdGYMAs0i-VYU1_bCnqbEneTxSuYDFm27_SUF5c
2024-04-29 22:58:03,817:INFO:certbot._internal.auth_handler:Performing the following challenges:
2024-04-29 22:58:03,818:INFO:certbot._internal.auth_handler:http-01 challenge for docmariaj.com
2024-04-29 22:58:03,823:DEBUG:certbot_apache._internal.http_01:Adding a temporary challenge validation Include for name: www.docmariaj.com in: /etc/httpd/conf.d/drmj.conf
2024-04-29 22:58:03,824:DEBUG:certbot_apache._internal.http_01:Adding a temporary challenge validation Include for name: www.docmariaj.com in: /etc/httpd/conf.d/drmj.conf
2024-04-29 22:58:03,824:DEBUG:certbot_apache._internal.http_01:Adding a temporary challenge validation Include for name: None in: /etc/httpd/conf.d/ssl.conf
2024-04-29 22:58:03,824:DEBUG:certbot_apache._internal.http_01:writing a pre config file with text:
RewriteEngine on
RewriteRule ^/\.well-known/acme-challenge/([A-Za-z0-9-_=]+)$ /var/lib/letsencrypt/http_challenges/$1 [END]
2024-04-29 22:58:03,825:DEBUG:certbot_apache._internal.http_01:writing a post config file with text:
<Directory /var/lib/letsencrypt/http_challenges>
Require all granted
</Directory>
<Location /.well-known/acme-challenge>
Require all granted
</Location>
2024-04-29 22:58:03,873:DEBUG:certbot.reverter:Creating backup of /etc/httpd/conf.d/ssl.conf
2024-04-29 22:58:03,874:DEBUG:certbot.reverter:Creating backup of /etc/httpd/conf.d/drmj.conf
2024-04-29 22:58:07,044:DEBUG:certbot._internal.display.obj:Notifying user: Challenges loaded. Press continue to submit to CA.
The following URLs should be accessible from the internet and return the value
Expected value:
u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo._vG2tjEsgYCEpA0xZzVQFmGuCENx2kgRdmdYYW37WXY
2024-04-29 22:58:07,045:DEBUG:acme.client:JWS payload:
b'{}'
2024-04-29 22:58:07,047:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q:
{
"payload": "e30"
}
2024-04-29 22:58:07,112:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/chall-v3/12191505584/4V3C4Q HTTP/1.1" 200 194
2024-04-29 22:58:07,113:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:07 GMT
Content-Type: application/json
Content-Length: 194
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index", <https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584>;rel="up"
Location: https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q
Replay-Nonce: vU6liGrnVd3SNEBOYoB2i-KOXewjCAkdnIFRIiMcwd9sScYMuUM
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"type": "http-01",
"status": "pending",
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo"
}
2024-04-29 22:58:07,113:DEBUG:acme.client:Storing nonce: vU6liGrnVd3SNEBOYoB2i-KOXewjCAkdnIFRIiMcwd9sScYMuUM
2024-04-29 22:58:07,113:INFO:certbot._internal.auth_handler:Waiting for verification...
2024-04-29 22:58:08,115:DEBUG:acme.client:JWS payload:
b''
2024-04-29 22:58:08,117:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/12191505584:
{
"payload": ""
}
2024-04-29 22:58:08,171:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/12191505584 HTTP/1.1" 200 1145
2024-04-29 22:58:08,171:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Tue, 30 Apr 2024 02:58:08 GMT
Content-Type: application/json
Content-Length: 1145
Connection: keep-alive
Boulder-Requester: 146393794
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: vU6liGrndjd3GQccW8aA6RIUOJA09WXcabHX6rQ7KstNfuja5oc
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "docmariaj.com"
},
"status": "invalid",
"expires": "2024-05-07T02:58:03Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "178.128.228.102: Invalid response from http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo: 400",
"status": 403
},
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"validationRecord": [
{
"url": "http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"hostname": "docmariaj.com",
"port": "80",
"addressesResolved": [
"178.128.228.102"
],
"addressUsed": "178.128.228.102",
"resolverAddrs": [
"A:10.0.32.85:28460",
"AAAA:10.0.32.88:27567"
]
}
],
"validated": "2024-04-30T02:58:07Z"
}
]
}
2024-04-29 22:58:08,171:DEBUG:acme.client:Storing nonce: vU6liGrndjd3GQccW8aA6RIUOJA09WXcabHX6rQ7KstNfuja5oc
2024-04-29 22:58:08,172:INFO:certbot._internal.auth_handler:Challenge failed for domain docmariaj.com
2024-04-29 22:58:08,172:INFO:certbot._internal.auth_handler:http-01 challenge for docmariaj.com
2024-04-29 22:58:08,172:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: docmariaj.com
Type: unauthorized
Detail: 178.128.228.102: Invalid response from http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo: 400
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.
2024-04-29 22:58:08,173:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/3700/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/var/lib/snapd/snap/certbot/3700/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
"type": "dns",
"value": "docmariaj.com"
},
"status": "invalid",
"expires": "2024-05-07T02:58:03Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "178.128.228.102: Invalid response from http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo: 400",
"status": 403
},
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"validationRecord": [
{
"url": "http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"hostname": "docmariaj.com",
"port": "80",
"addressesResolved": [
"178.128.228.102"
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "178.128.228.102: Invalid response from http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo: 400",
"status": 403
},
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/12191505584/4V3C4Q",
"token": "u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"validationRecord": [
{
"url": "http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo",
"hostname": "docmariaj.com",
"port": "80",
"addressesResolved": [
"178.128.228.102"
],
"addressUsed": "178.128.228.102",
"resolverAddrs": [
"A:10.0.32.85:28460",
"AAAA:10.0.32.88:27567"
]
}
],
"validated": "2024-04-30T02:58:07Z"
}
]
}
2024-04-29 22:58:08,171:DEBUG:acme.client:Storing nonce: vU6liGrndjd3GQccW8aA6RIUOJA09WXcabHX6rQ7KstNfuja5oc
2024-04-29 22:58:08,172:INFO:certbot._internal.auth_handler:Challenge failed for domain docmariaj.com
2024-04-29 22:58:08,172:INFO:certbot._internal.auth_handler:http-01 challenge for docmariaj.com
2024-04-29 22:58:08,172:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: docmariaj.com
Type: unauthorized
Detail: 178.128.228.102: Invalid response from http://docmariaj.com/.well-known/acme-challenge/u7wWILCO7wIeur0QZVnLrKsd65AAdZafFfz3vuvamTo: 400
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.
2024-04-29 22:58:08,173:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/3700/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/var/lib/snapd/snap/certbot/3700/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
My web server is (include version):
Server version: Apache/2.4.57 (CentOS Stream)
Server built: Oct 4 2023 00:00:00
The operating system my web server runs on is (include version):
CentOS Stream release 9
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 2.10.0
I was able to get my certificate installed easily on this new server like more than 2 months ago. Now it is up for renewal and I'm getting issues. I tried to read several similar cases but wasn't able to figure it out.
Thanks for looking into this.