How to get an account by URL: /acme/new-acct

I am trying to make an ACME client .

In ACME-RFC document , /acme/new-acct need a jwk parameter in protected header.

How to get this jwk in this situation that I haven't an account?

1 Like

The account public/private keypair isn't generated on the server. AFAIK you just generate an account keypair in your client and start using it, including the JWK stuff for /acme/new-acct.

1 Like

Can you give me an example ?

Or other document about this subject.

1 Like

If you're looking for examples, you may want to find an already-existing open-source client in the language you're working in and see how they do it. (Assuming that doing so won't cause licensing issues for the client you're working on yourself.)

1 Like

No, I don't have any experience with it myself. However, plenty of open source ACME clients exist
already
, which should provide enough examples.

I'm not sure what documentation you want? Section 6.2 "Request Authentication" provides all the info you need I think.

1 Like

Thank you. It should like that I'm not handling the method of making JWK.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.