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

Dehydrated won't work with step-ca acme server / kid does not have required prefix #689

Closed
sigio opened this issue Nov 4, 2019 · 2 comments

Comments

@sigio
Copy link

sigio commented Nov 4, 2019

dehydrated --config config-step -x -g --signcsr some.csr

INFO: Using main config file config-step

Details:
HTTP/2 400
cache-control: no-store
content-type: application/problem+json
link: https://my-internal-acme/acme/acme/directory;rel="index"
replay-nonce: YVY5Z3VoVXZNWVhTRTVIYnVZQW9uR2N3Yk1RZk03Ylg
content-length: 246
date: Mon, 04 Nov 2019 12:31:09 GMT

{"type":"urn:ietf:params:acme:error:malformed","detail":"kid does not have required prefix; expected https://my-internal-acme/acme/acme/account/, but got https://my-internal-acme/acme/acme/new-account/TJtti927Rt3fyv5LRLRhaBgfs8oppRKI"}

The server I'm talking to does with with the acme.sh client and smallstep's own acme client.

@vidensky
Copy link

vidensky commented Feb 5, 2020

Problems with incorrect parsing of JSON. And a few other things.

I created a modification that works, but it's not pure code. The right solution is to go to the JSON parsing solution.

dehydrated.zip

@lukas2511
Copy link
Member

lukas2511 commented Feb 6, 2020

Closing this for now as this seems to be purely dependent on issue #516 and/or #671.

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

3 participants