Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed with Response code of 400 ... #4

Closed
lalaw2k opened this issue Dec 24, 2019 · 3 comments
Closed

Failed with Response code of 400 ... #4

lalaw2k opened this issue Dec 24, 2019 · 3 comments

Comments

@lalaw2k
Copy link

lalaw2k commented Dec 24, 2019

Failed in AcmeClient constructor with the following error text: "Response code of 400 contacting https://acme-staging-v02.api.letsencrypt.org/acme/new-acct with response of:\n{\n "type": "urn:ietf:params:acme:error:accountDoesNotExist",\n "detail": "No account exist... "

I used "openssl genrsa 4096 > account.key" to create the key then pass the full path to account.key as the first argument, followed by the domain name. The project is compiled in VS2019

Is there a step i'm missing? I thought acme-lw would create the new letsencrypt account. Any help or guidance would be greatly appreciated.

Thanks.

@jmccl
Copy link
Owner

jmccl commented Dec 24, 2019

acme-lw does not create the account. That might be a good enhancement, but it doesn't do that right now. At the moment you need to have an valid account key before you use the library.
If you want to put in a pull request I'll certainly consider it

@jmccl
Copy link
Owner

jmccl commented Dec 25, 2019

I'll close as this seems to have been a question rather than an issue. Feel free to re-open or open another related issue, as you see fit.

@jmccl jmccl closed this as completed Dec 25, 2019
@jmccl
Copy link
Owner

jmccl commented Apr 29, 2022

A change has been checked in to create the account.

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

No branches or pull requests

2 participants