While executing this command docker compose -f docker-compose-le.yaml up --build
. I'm getting an error:
WARN[0000] Found orphan containers ([nginx-service]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[+] Running 1/0
✔ Container certbot-service Created 0.0s
Attaching to certbot-service
certbot-service | Saving debug log to /var/log/letsencrypt/letsencrypt.log
certbot-service | Plugins selected: Authenticator webroot, Installer None
certbot-service | Requesting a certificate for contactform.dev
certbot-service | Performing the following challenges:
certbot-service | http-01 challenge for contactform.dev
certbot-service | Using the webroot path /tmp/acme_challenge for all unmatched domains.
certbot-service | Waiting for verification...
certbot-service | Challenge failed for domain contactform.dev
certbot-service | http-01 challenge for contactform.dev
certbot-service |
certbot-service | Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
certbot-service | Domain: contactform.dev
certbot-service | Type: unauthorized
certbot-service | Detail: 76.76.21.21: Invalid response from http://contactform.dev/.well-known/acme-challenge/jcJE6h2Gpp6uLuD7lEusIcscuuDtpKnG7uldXmu88Tg: 404
certbot-service |
certbot-service | Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
certbot-service |
certbot-service | Cleaning up challenges
certbot-service | Some challenges have failed.
certbot-service | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
certbot-service exited with code 1
Any idea why I'm not able to generate Encrypt certificate?