and the results of apachectl configtest ; is fine. the apache server restarts no problem.
yet during a dry-run i see several error messages like this:
certbot renew --dry-run ;
The following simulated renewals failed:
/etc/letsencrypt/live/MYDOMAIN.COM/fullchain.pem (failure)
note: i just moved all of these websites from one server to another. i just tar-copied all the /etc/letsencrypt/archive files over. everything looks fine on https://www.sslshopper.com/ssl-checker.html
should i delete the certs from the old server and start over with new & fresh ones?
hopefully my $$$ donation today compensates for questions that have answers that are probably documented somewhere, but i was unable to find it.
checked here too:
/var/log/letsencrypt/letsencrypt.log
EDIT: both of these seem to work just fine according to sslshoppper.com:
You want to use fullchain.pem with the SSLCertificateFile Directive if you are using version 2.4.8 or later. Otherwise, use cert.pem with the SSLCertificateFile Directive and chain.pem with the SSLCertificateChainFile Directive.
The SSLCertificateFile Directive points to a file with certificate data in PEM format, or the certificate identifier through a configured cryptographic token. If using a PEM file, at minimum, the file must include an end-entity (leaf) certificate.
The file may also include intermediate CA certificates, sorted from leaf to root. This is supported with version 2.4.8 and later, and obsoletes SSLCertificateChainFile.
thank you griffin for your reply. i consider it a great honor to donate to letsencrypt.
Apache/2.4.6
huh, i assumed that centos-8 would have a later version.
sorry, but i am not quite sure where to go from here. a staging environment under maintenance? when i click that link i am not seeing any maintenance going on. or are you saying to try it again tomorrow?
Please paste the entire output so we can see what the actual reported error by the ACME server is. Just knowing it failed leaves too much room for guessing and is like trying to fix it in the dark.
Failed to renew certificate MYDOMAINNAME.COM with error: HTTPSConnectionPool(host='acme-staging-v02.api.letsencrypt.org', port=443): Read timed out. (read timeout=45)
but as Griffin very patiently and kindly educated me, its important to check https://letsencrypt.status.io/ since occasionally the letsencrypt servers might not be answering quickly.
for whatever reason (bad timing?) trying to do them all at once with
certbot renew --dry-run ;
is not working consistently, at least for now. any thoughts on this?
Are the ones that are failing consistent or random? Are you seeing the same type of error as before or something different? As Osiris mentioned, knowing the exact error sent by Let's Encrypt, as opposed to the ACME client's interpretation of it, is very helpful.
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator apache, Installer apache
Simulating renewal of an existing certificate for MYDOMAIN.com and 3 more domains
Performing the following challenges:
http-01 challenge for admin.MYDOMAIN.com
http-01 challenge for MYDOMAIN.com
http-01 challenge for webmail.MYDOMAIN.com
http-01 challenge for www.MYDOMAIN.com
Waiting for verification...
Cleaning up challenges
Failed to renew certificate MYDOMAIN.COM with error: HTTPSConnectionPool(host='acme-staging-v02.api.letsencrypt.org', port=443): Read timed out. (read timeout=45)
I can't say that I'm really familiar with that error. I'll give time for someone who might have specific knowledge to respond. If no one with specific knowledge responds to provide assistance, I'll start an inquiry.