Skip to content

EAB credentials for acme account creation #1255

@baltazartroisville

Description

@baltazartroisville

Is your feature request related to a problem? Please describe.
Some ACME providers require the registration with credentials named EAB, external account binding. Right now Nginx-UI does not allow this so this providers (for example zerossl) cannot be used.

Describe the solution you'd like
Two additional optional text input boxes on the acme provider registration page for key ID (kid) and HMAC key (hmacKey). And the logic working with the input of course. EAB takes place in the acme new account creation phase, not in the certificate request afterwards.

Describe alternatives you've considered
Use LetsEncrypt.

Additional context

Steps (if i understood correctly):

  1. get kid and hmacKey from provider
  2. generate RSA or EC keypair
  3. build eab JWS (json web signature) object
    • payload is acme account JWK (json web key) - public part from keypair
    • algorithm, keyID (kid) and CADir endpoint URL as header
    • sign with base64url-encoded HMAC key
  4. POST to endpoint URL with externalAccountBinding field in account registration payload

Thank you to anyone who puts hard work in nginx-ui! ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions