acme icon indicating copy to clipboard operation
acme copied to clipboard

Reg fails if the config dir isn't created

Open davidpelaez opened this issue 8 years ago • 2 comments

root@ip-10-108-9-175:~# acme reg -gen mailto:[email protected]
account key: open /root/.config/acme/account.key: no such file or directory
root@ip-10-108-9-175:~# mkdir -p /root/.config/acme/
root@ip-10-108-9-175:~# acme reg -gen mailto:[email protected]
CA requires acceptance of their Terms and Services agreement:
https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf
Do you accept? (Y/n)

The suggested first step in the Readme doesn't mention that the config dir needs to be created. Maybe if this is missing it should prompt you and ask if the dir should be created automatically?

davidpelaez avatar Jan 19 '17 19:01 davidpelaez

Yeah, you're right. It should auto-create the missing dir. It's a bug.

x1ddos avatar Jan 19 '17 19:01 x1ddos

The (open) pull request #56 fixes that (change to first file there, the other is a nicer error message for a different case)

bof avatar Jan 20 '17 16:01 bof