I’ve been trying to add ssl to my docker instance on google VM. When looking it up on how to do this with cert bot everyone is using nginx. Now looking up how to add nginx to a docker image didn’t help me much nor did looking up how to make an nginx image.
All I want Is to have https on my website. Any and all help is greatly appreciated
Hi so I have your setup working now, But im getting a fail on sudo ./init-letsencrypt.sh
the error is
Waiting for verification...
Challenge failed for domain test.txanalytics.com
http-01 challenge for test.txanalytics.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: test.txanalytics.com
Type: unauthorized
Detail: Invalid response from
http://test.txanalytics.com/.well-known/acme-challenge/v151aUhcP1TXLxXSBUFjbCz6tX3k97WWoDSnpkJkuwQ
[35.209.164.163]: 404
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.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.