Revoking certs through the API
- Dominant language
- Go
- Stars
- 9.5k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I've been trying to revoke a certificate using the API. A few things I noted:
- the format of the Serial and AKI in 'certinfo' is different from the expected args for 'revoke'
- I can't get the API to revoke it at all. This is probably some encoding / format issue, but using curl with the same arguments failed
``` json
{"success":false,"result":null,"errors":[{"code":11200,"message":"failed to revoke the certificate: certificate not found"}],"messages":[]}
```
I've tried using the hex, upper hex, lower hex formats. Using cfssl made it work, but only using a lowercase hex version; Personally I'd propose to make certinfo print a lowercase, "%0x" version without the colons.
PS: do you have a chat channel / FAQ?
Contributor guide
Assessment
This issue has not been assessed yet.