Hi. I don't need help as such; I'm just trying to find a channel to reach out to report a suspected issue.
I have a process for requesting certificates from Let's Encrypt. If the domain name I request the certificate for resolves directly to an IP address through an A record, then everything behaves as expected. If the domain name I request the certificate for resolves via a CNAME, then I get strange behaviour.
Whether or not there is a CNAME involved is the only difference I can find on my side between expected behaviour and unexpected behaviour.
In both cases, the certificate is issued successfully. The strange behaviour is that the Let's Encrypt servers will start performing daily HTTP requests for unrecognised tokens against the domain when a CNAME is involved.
I know that the daily unexpected request are coming from Let's Encrypt's servers, because the source IP addresses overlap with expected requests from legitimate certificate renewals.
I know that the HTTP requests aren't in response to POST-as-GET challenge requests coming from my environment: the process that requests certificates is currently being run manually, and outbound access is restricted in that environment such that all HTTPS requests go through a forward proxy - and the forward proxy's logs only show HTTPS connections being opened when I manually trigger the process.
I know (or at least strongly suspect) that the strange behaviour is triggered due to a legitimate request for a certificate from my environment, because these daily requests only start after a legitimate request from that environment - the web server logs are silent before then.
The environment is based on Microsoft servers and technology. (Don't judge me.) Here's an extract from the IIS web server log showing requests that I'm not expecting:
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2023-12-01 06:31:11 10.0.7.4 GET /.well-known/acme-challenge/DfTGoUNzcptng4hZKsHDnohkZEghVDU8UIQ0_UyCb0M - 80 - 18.222.199.136 Mozilla/5.0+(compatible;+Let's+Encrypt+validation+server;++https://www.letsencrypt.org) - 404 0 2 3330
2023-12-01 06:31:11 10.0.7.4 GET /.well-known/acme-challenge/DfTGoUNzcptng4hZKsHDnohkZEghVDU8UIQ0_UyCb0M - 80 - 23.178.112.201 Mozilla/5.0+(compatible;+Let's+Encrypt+validation+server;++https://www.letsencrypt.org) - 404 0 2 2957
2023-12-01 06:31:11 10.0.7.4 GET /.well-known/acme-challenge/DfTGoUNzcptng4hZKsHDnohkZEghVDU8UIQ0_UyCb0M - 80 - 52.36.2.37 Mozilla/5.0+(compatible;+Let's+Encrypt+validation+server;++https://www.letsencrypt.org) - 404 0 64 3132
I've been receiving similar unexpected requests every morning since the certificate was originally requested for that environment in July. Here I'm renewing that certificate this afternoon:
#Fields: s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
10.0.7.4 GET /.well-known/acme-challenge/zQF0FYZvQ1rCJYEy-tNYdBrDH45DyjqJxoJis4eRW3k - 80 - 18.222.199.136 Mozilla/5.0+(compatible;+Let's+Encrypt+validation+server;++https://www.letsencrypt.org) - 200 0 0 4328
As you can see, the client IP address is the same for this expected request, so I'm confident that the earlier unexpected requests are also coming from Let's Encrypt. Similarly, yesterday morning I received requests for another token I've never seen:
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2023-11-30 06:59:13 10.0.7.4 GET /.well-known/acme-challenge/5GgU5RtVTKLlhTa5vQC4dJWUfYNkpavUncBXk6_05KM - 80 - 18.117.107.2 Mozilla/5.0+(compatible;+Let's+Encrypt+validation+server;++https://www.letsencrypt.org) - 404 0 2 3493
2023-11-30 06:59:13 10.0.7.4 GET /.well-known/acme-challenge/5GgU5RtVTKLlhTa5vQC4dJWUfYNkpavUncBXk6_05KM - 80 - 23.178.112.202 Mozilla/5.0+(compatible;+Let's+Encrypt+validation+server;++https://www.letsencrypt.org) - 404 0 2 3155
2023-11-30 06:59:13 10.0.7.4 GET /.well-known/acme-challenge/5GgU5RtVTKLlhTa5vQC4dJWUfYNkpavUncBXk6_05KM - 80 - 54.244.15.119 Mozilla/5.0+(compatible;+Let's+Encrypt+validation+server;++https://www.letsencrypt.org) - 404 0 64 3684
This is happening for every site I host - but only if there's a CNAME in place. Sites that don't have a CNAME get the just the expected HTTP challenge requests; nothing comes in daily for those.
Any thoughts on why Let's Encrypt appears to be trying to satisfy challenges every day, even after the certificate has been finalized and downloaded - but only when a CNAME is in place?