1

Deactivating an Authorization

Hi!

Is it possible to deactivate a valid authorization (status = valid)?

[status] => valid
[contact] => Array
        (
                [0] => mailto:xxxxxxx
        )
[termsOfServiceAgreed] => 1
[orders] => https://api.buypass.com/acme/acct/xxxxx/orders

https://tools.ietf.org/html/rfc8555#section-7.5.2

I sent the following to the authorization url:

{
    "protected": {
        "alg": "RS256",
        "kid": "https://api.buypass.com/acme/acct/xxxxxxxxx",
        "nonce": "xxxxxxxxxxxx",
        "url": "https://api.buypass.com/acme-v02/authz/xxxxxxxx"
    },
    "payload": {
        "status": "deactivated"
    },
    "signature": "xxxxxx"
}

The API responded with:

[type] => urn:ietf:params:acme:error:malformed
[detail] => Authorization status-change request was malformed. Status field value was 'null', which is incorrect
[code] => 400
[message] => MALFORMED_BAD_REQUEST
[details] => HTTP 400 Bad Request

Am I doing something wrong, or is the error message missleading and this feature isn't available?

Thanks!

Stefan

3replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like1 Follow
  • Status Answered
  • 1 Likes
  • 10 days agoLast active
  • 3Replies
  • 29Views
  • 2 Following

Buypass Official Community

This is the official community of Buypass.  A Root CA located in Norway.