cloudflare / cloudflare/cfssl

Revoking certs through the API

Open
#604 12 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.