DanielDent / docker-nginx-ssl-proxy

SSL Front-End Proxy With Automatic Free Certificate Management
https://hub.docker.com/r/danieldent/nginx-ssl-proxy/
Other
204 stars 68 forks source link

Not Generating the Challenge? #13

Open pogzie opened 6 years ago

pogzie commented 6 years ago

In my container log im getting this:

Registering without email!
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for <container.TLD>
Using the webroot path /usr/share/nginx/html for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. <container.TLD> (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://<container.TLD>/.well-known/acme-challenge/APFKTsJaIIypGdk5vbaVdDcqeArpigY51jTpsGqhEXo: "                                                 

                            "

I was wondering why its failing. I was able to verify that my redirects are working fine when running a vanilla httpd container on the same port, its reachable from

Upon doing a docker exec I noticed that the target location is blank.

root@b777f672b92f:/usr/share/nginx/html/.well-known# ls -lah
total 0
drwxr-xr-x. 2 root root  6 Aug  2 12:48 .
drwxr-xr-x. 1 root root 25 Aug  2 12:48 ..

Is this normal?