diafygi / gethttpsforfree

Source code for https://gethttpsforfree.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Step 3: Sign API Requests fails when attempting to register

tab00 opened this issue · comments

commented

The response from POST request to "https://acme-v01.api.letsencrypt.org/acme/new-reg" is:
{"type":"urn:acme:error:malformed","detail":"Unable to read/verify body :: JWS verification error","status":400}

Kind of same error like in #62.

Likely because you have a newline. Be sure to use echo -n or printf when piping the signature payload into openssl.

commented

This issue is closed but not resolved. I've used the exact echo setup and I still get the same error

I've used the echo in a proper way, same error, I'm unable to pass the step 3.