There, it says that there are certificate issues - the certificates are out of order, and there are extra certs. Looking under Certification Paths, I see the two Let’s Encrypt Certificates, and a self-signed certificate in the trust store.
I wonder, could someone help me get this sorted out? I’m out of my depth.
SSLCertificateFile /etc/letsencrypt/live/thumbby.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thumbby.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/thumbby.com/fullchain.pem
Include /etc/letsencrypt/options-ssl-apache.conf
When I take out the SSLCertificateFile line and restart, the restart fails:
Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details.
You should have a chain.pem file. Use that instead of the fullchain.pem
The fullchain.pem contains the cert.pem and the chain.pem. So (first make a backup) open it with an editor and remove the first certificate. Then the content is the same like chain.pem
So, it turns out that there is an additional problem - I don’t have a certificate for www.thumbby.com. Looking at my httpd.conf, I saw that I had a 443 section set up for thumbby.com, but none for www.thumbby.com. I added it, restarted the server, and looking on check-your-website.server-daten.de, I get all kinds of messages about not having a certificate for the www url.
So, how do I proceed? Rerun certbot and start over?
# Other directives here
SSLCertificateFile /etc/letsencrypt/live/thumbby.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thumbby.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/thumbby.com/chain.pem
Include /etc/letsencrypt/options-ssl-apache.conf
# Other directives here
SSLCertificateFile /etc/letsencrypt/live/thumbby.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thumbby.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/thumbby.com/chain.pem
Include /etc/letsencrypt/options-ssl-apache.conf