Error in Step 3: Account registration failed. Please start back at Step 1.

Open
#175 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
security

Research direction

Start by reproducing the Step 3 account-registration flow using the reported ACME badNonce and malformed JWS responses, then inspect the registration entry point and the OpenSSL signing command shown in the report. Done means the flow handles the current ACME nonce and JWS response correctly instead of failing at Step 3.

Written by the indexing model from the issue text.

Description

Step 1 and 2 worked fine but in step 3 I get the following error:

Error: Account registration failed. Please start back at Step 1. { "type": "urn:ietf:params:acme:error:badNonce", "detail": "JWS has an invalid anti-replay nonce: "0103QwMp1UWXcX5B5sSQBIDWzJL5ak3waWsArRm_875tX3A"", "status": 400 }

I tried a second time and got the following error:

Error: Account registration failed. Please start back at Step 1. { "type": "urn:ietf:params:acme:error:malformed", "detail": "JWS verification error", "status": 400 }

I entered the single line output of the echo -n "eyJ1...1ZX0" | openssl dgst -sha256 -hex -sign $PRIV_KEY" command as:
(stdin)= 1a7f....0835
(actual full strings shortened here for brevity).

Maybe the nonce part of the ACME protocol changed or something?

Dominant language
JavaScript
Stars
2.2k
Forks
277
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diafygi/gethttpsforfree

All issues in diafygi/gethttpsforfree

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.