After issuing sudo certbot renew
without any errors, all of my domain certificates that were due for renewal stopped working.
In Chrome:
This site can’t provide a secure connection
hughguiney.com sent an invalid response.
Try running Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
In Firefox:
Secure Connection Failed
An error occurred during a connection to hughguiney.com. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
- The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
- Please contact the website owners to inform them of this problem.
Apache logs don’t show any SSL errors even on LogLevel debug.
After this, I tried replacing my certificates with even newer ones both yesterday and today, to no avail.
My domain is: https://hughguiney.com
I ran this command: sudo certbot certonly --webroot -w /path/to/webroot -d hughguiney.com -d www.hughguiney.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/hughguiney.com.conf)
What would you like to do?
-------------------------------------------------------------------------------
1: Keep the existing certificate for now
2: Renew & replace the cert (limit ~5 per 7 days)
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for hughguiney.com
http-01 challenge for www.hughguiney.com
Using the webroot path /path/to/webroot for all unmatched domains.
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/hughguiney.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/hughguiney.com/privkey.pem
Your cert will expire on 2018-04-17. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
"certbot renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
My web server is (include version): Apache/2.4.29 (Unix)
The operating system my web server runs on is (include version): Arch Linux (Kernel 4.14.12-x86_64-linode92)
My hosting provider, if applicable, is: Linode
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