I used this repo to create nginx reverse proxy and request ssl before.
But I don't know why recently I has. ACME error althought every setup in domain, router (port forward 80/443) are corrected.
Please help me or suggest me something.
Thanks!
Repo:
Generating a RSA private key
.............++++
...........................++++
writing new private key to '/etc/letsencrypt/live/sd.lamkhatinh.com/privkey.pem'
Starting nginx ...
[+] Running 0/0
⠋ Container a7d7feeb3ef8_nginx-certbot-nginx-1 Recreate 0.0s
Error response from daemon: Conflict. The container name "/a7d7feeb3ef8_nginx-certbot-nginx-1" is already in use by container "a7d7feeb3ef8c824470c6a40a5c0b3eea2dc6a162689a0ac6ff0fb2cdb1c4fb4". You have to remove (or rename) that container to be able to reuse that name.
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.
Is that normal? If not you should post an issue on the github for that script
As for this error, it means the Let's Encrypt server sent the HTTP challenge (port 80) to your domain but the connection was refused. Most likely because there is no host or container handling port 80 properly.
It seems you are changing things frequently which makes it hard to say anything else. One minute a test HTTP request gets redirected to HTTPS. The next minute it fails with "no route to host". HTTPS requests are using a self-signed cert for "localhost".
This seems like a server / container configuration problem which is best handled by the group that manages that script.
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.
Some challenges have failed.
I realize in docker-compose file. I have command
./data/certbot/www:/var/www/certbot
But I checked in ./data/certbot/www, no file to ACME use, is it normal ?
Or may be I miss something, please help me1