awsdocs / amazon-lightsail-developer-guide

The open source version of the Amazon Lightsail docs. To submit feedback or requests for changes, submit an issue or make changes and submit a pull request.
Other
211 stars 192 forks source link

Lightsail TLS Certificate Installation - Update Method #37

Closed gmicek closed 3 years ago

gmicek commented 3 years ago

Hi,

The method detailed in this doc appears to be deprecated and replaced by the following doc: Deprecated: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress

Updated: https://aws.amazon.com/premiumsupport/knowledge-center/linux-lightsail-ssl-bitnami/

The updated doc uses a mechanism that makes it easier to auto-renew at 90 days

Thanks! Greg

gmicek commented 3 years ago

cc @rlatino on this one as you appear to be the doc owner for the lightsail doc, thanks !

DanielApt commented 3 years ago

FYI: Yesterday I successfully followed https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-https-on-wordpress, which also uses bncert

misterzero commented 3 years ago

This documentation assumes you want to enable HTTPS on the wordpress instance, but does not address how one can update wordpress to work with a TLS cert on an upstream load balancer. I was able to do so, but wordpress is still using HTTP URLs for references to static content.

rlatino commented 3 years ago

@gmicek

cc @rlatino on this one as you appear to be the doc owner for the lightsail doc, thanks !

Thank you for the notice. As @DanielApt reported, we did publish the new process using the bncert tool here: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-https-on-wordpress

@misterzero I have added your suggestion to my backlog and will work on documenting that soon. Thank you!

gmicek commented 3 years ago

@rlatino do you want to add a note that the following doc is deprecated or remove it altogether ?

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress

That's what I was trying to get at

rlatino commented 3 years ago

The certbot process works, it just doesn't auto renew certs every 90 days. The benefit of the certbot process is that it configures a wildcard cert. If I recall correctly, the bncert tool doesn't support wildcard certs.

gmicek commented 3 years ago

Ah cool, good to know! Thanks