Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Reg fails if the config dir isn't created #57

Open
davidpelaez opened this issue Jan 19, 2017 · 2 comments
Open

Reg fails if the config dir isn't created #57

davidpelaez opened this issue Jan 19, 2017 · 2 comments

Comments

@davidpelaez
Copy link

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?

@x1ddos
Copy link
Contributor

x1ddos commented Jan 19, 2017

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

@bof
Copy link

bof commented Jan 20, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants