I'm writing my own acme client and I'm testing this against the staging directory of letsencrypt. Following the documentation from the ietf, I implemented getNonce, newAccount and now I am stuck at the newOrder function. According to RFC 8555 - Automatic Certificate Management Environment (ACME), I only need to provide a kid, since I already created a new account. But when I send the payload, I'm getting a Unable to validate JWS :: No embedded JWK in JWS header. Debugging the header results in
Thank you for your quick answer! I am signing the payload the same way I did with newAccount. I read about the post-over-get so the only endpoint that I am not signing is the getNonce HEAD endpoint
sorry, I'm an idiot. The url in the request of the newOrder function was a constant pointing at the same url as newAccount but with correct jws headers, which I used to debug but I obviously didn't see the wrong url as the headers were correct. My bad!