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
Like
1
5replies
-
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)