wmnnd/nginx-certbot

Cant create private key file

Closed this issue · 1 comments

I am facing this error:

writing new private key to '/etc/letsencrypt/live/example.com/privkey.pem'
req: Can't open "/etc/letsencrypt/live/example.com/privkey.pem" for writing, No such file or directory
ERROR: 1

I have added additional commands to the script like touch to create the file, but still not working

I wrote wrong file path in the volumes section of docker-compose