{"id":59,"date":"2023-06-06T18:01:59","date_gmt":"2023-06-07T01:01:59","guid":{"rendered":"https:\/\/wordpress.willaford.com\/?p=59"},"modified":"2023-06-06T18:01:59","modified_gmt":"2023-06-07T01:01:59","slug":"https-for-lightsail-wordpress-instances","status":"publish","type":"post","link":"https:\/\/willaford.com\/?p=59","title":{"rendered":"HTTPS for Lightsail WordPress Instances"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">What is the problem? <\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">expired certificate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"919\" height=\"269\" src=\"https:\/\/wordpress.willaford.com\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-06-175441.png\" alt=\"\" class=\"wp-image-61\" srcset=\"https:\/\/willaford.com\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-06-175441.png 919w, https:\/\/willaford.com\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-06-175441-300x88.png 300w, https:\/\/willaford.com\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-06-175441-768x225.png 768w\" sizes=\"auto, (max-width: 919px) 100vw, 919px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">What have I done about it? <\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">The old way:  get a cert, think it is automatic, watch it expire.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">What did I need to to about it?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">The new way: <a href=\"https:\/\/lightsail.aws.amazon.com\/ls\/docs\/en_us\/articles\/amazon-lightsail-enabling-https-on-wordpress\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/lightsail.aws.amazon.com\/ls\/docs\/en_us\/articles\/amazon-lightsail-enabling-https-on-wordpress<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tried and tested on 6 June 2023.  bncert found the existing cert for all of the domains, updated the cert, set a cron job \ud83e\udd1e for renewal, updated server config, and rebooted.   The manual steps were snapshotting the instance before starting, getting latest version of bncert tool, and typing in the domains<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/willaford.com\" target=\"_blank\" rel=\"noreferrer noopener\">willaford.com<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/willaford.me\" target=\"_blank\" rel=\"noreferrer noopener\">willaford.me<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/willaford.net\" target=\"_blank\" rel=\"noreferrer noopener\">willaford.net<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/willaford.org\" target=\"_blank\" rel=\"noreferrer noopener\">willaford.org<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/wordpress.willaford.com\" target=\"_blank\" rel=\"noreferrer noopener\">wordpress.willaford.com<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.willaford.com\" target=\"_blank\" rel=\"noreferrer noopener\">44.235.24.161\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is the problem? expired certificate. What have I done about it? The old way: get a cert, think it is automatic, watch it expire. What did I need to to about it? The new way: https:\/\/lightsail.aws.amazon.com\/ls\/docs\/en_us\/articles\/amazon-lightsail-enabling-https-on-wordpress Tried and tested on 6 June 2023. bncert found the existing cert for all of the domains, updated [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":62,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_featured_media_url":"https:\/\/willaford.com\/wp-content\/uploads\/2023\/06\/Screenshot-2023-06-06-175441-1.png","_links":{"self":[{"href":"https:\/\/willaford.com\/index.php?rest_route=\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/willaford.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/willaford.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/willaford.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/willaford.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59"}],"version-history":[{"count":0,"href":"https:\/\/willaford.com\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/willaford.com\/index.php?rest_route=\/wp\/v2\/media\/62"}],"wp:attachment":[{"href":"https:\/\/willaford.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/willaford.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/willaford.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}