Renewing HTTPS on AWS AMI
sudo certbot -i apache -a manual --preferred-challenges dns -d dev-junk.com -d www.dev-junk.com
- Follow instructinos to add DNS TXT Resource Record in Domain DNS Settings
- Wait 5+ minutes before accepting/validating record updated
Saw this though:
Failed redirect for dev-junk.com
Unable to set enhancement redirect for dev-junk.com
Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection
IMPORTANT NOTES:
- We were unable to set up enhancement redirect for your server,
however, we successfully installed your certificate.
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/dev-junk.com-0001/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/dev-junk.com-0001/privkey.pem
Your cert will expire on 2021-05-14. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew *all* of
your certificates, run "certbot renew"