Closed sononix closed 6 years ago
Been playing around with caddy that last couple of days
Hit the rate limit on cert creation so thought I could save the certs in the .caddy folder
docker run -e "CADDYPATH=/etc/caddycerts" -v $PWD/Caddyfile:/etc/Caddyfile -v $PWD/.caddy:/etc/caddycerts -p 80:80 -p 443:443 abiosoft/caddy
problem is I get a permissions error on / etc/caddycerts/acme/acme-v01.api.letsencrypt.org/sites/mysite/mysite.crt: not a directory
tried coming at this from a certbot direction and hitting issues the the crt does not exist used the syntax tls crt key
tls crt key
At a loss to how I can fix this rather than modifying the Dockerfile – any suggestions
.caddy it should be a folder and not a file....
Been playing around with caddy that last couple of days
Hit the rate limit on cert creation so thought I could save the certs in the .caddy folder
docker run
-e "CADDYPATH=/etc/caddycerts"
-v $PWD/Caddyfile:/etc/Caddyfile
-v $PWD/.caddy:/etc/caddycerts
-p 80:80 -p 443:443
abiosoft/caddy
problem is I get a permissions error on / etc/caddycerts/acme/acme-v01.api.letsencrypt.org/sites/mysite/mysite.crt: not a directory
tried coming at this from a certbot direction and hitting issues the the crt does not exist used the syntax
tls crt key
At a loss to how I can fix this rather than modifying the Dockerfile – any suggestions