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

5replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Stefan
    • Stefan
    • 2 yrs ago
    • Reported - view

    Update: I just tested it. It works with the Test environment (https://api.test4.buypass.no/acme/directory) the Problem only exists in the Production environment (https://api.buypass.com/acme/directory)

    Like 1
  • Hi Stefan

     

    Thanks for reporting the issue and detailed info. We have identified the bug and fixed it in test environment.

    We plan to deploy the fix to production. We will notify here once this is done.

     

    Regards,

    Andriy

    Like 1
    • Stefan
    • Stefan
    • 2 yrs ago
    • Reported - view

    Hi Andriy Mahats

    Thank you very much! Looking forward to the notification :)

    Like 1
  • Hi Stefan

     

    We have released a fix today to resolve this issue in our production environment.

     

    Regards,

    Andriy

    Like 1
      • Stefan
      • Stefan
      • 2 yrs ago
      • Reported - view

      Andriy Mahats 

      Awesome! Thanks again!

      Stefan

      Like 1
Like1
  • Status Answered
  • 1 Likes
  • 2 yrs agoLast active
  • 5Replies closed
  • 137Views
  • 2 Following

Buypass Official Community

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

Sign-up using free email domains have been blocked due to increased spam. https://community.forumbee.com/t/63zsyt/blocked-email-domains