Let’s Encryptの証明書自動更新がエラーで止まった対処メモ

Let’s EncryptのSSL証明書を自動更新するcronを以前建てたLightsailのLAMPサーバーに仕込んでいたのですが、何故か止まってしまっていたので対処内容をメモしときます。
SSHでログインして、直接証明書を更新してみます。
$ sudo /home/bitnami/letsencrypt/letsencrypt-auto renew
/home/bitnami/letsencrypt/letsencrypt-auto has insecure permissions!
To learn how to fix them, visit https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979/
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/www.apps.danishi.net.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
https-01 challenge for www.apps.danishi.net
Using the webroot path /opt/bitnami/apache2/htdocs for all unmatched domains.
Waiting for verification...
Challenge failed for domain www.apps.danishi.net
https-01 challenge for www.apps.danishi.net
Cleaning up challenges
Attempting to renew cert (www.apps.danishi.net) from /etc/letsencrypt/renewal/www.apps.danishi.net.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/www.apps.danishi.net/fullchain.pem (failure)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/www.apps.danishi.net/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: www.apps.danishi.net
   Type:   connection
   Detail: Fetching
   https://www.apps.danishi.net/.well-known/acme-challenge/EGLy4MTnAG4t2sUx0vQxgk_1qiiSFokGkpQHpO_AHsw:
   Timeout during connect (likely firewall problem)

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.
エラーがでるので、色々とググりながら調べると、Let’s Encryptからhttps://~/.well-known/acme-challenge/~へアクセスできなかったことがエラーの原因とのこと。 私の場合はLightsailのファイアウォールでhttpsアクセスを遮断していたため、これを解除することで解決しました。

httpsでアクセスしてくれればいいのに…。