Difference between revisions of "Cfssl issues"
Jump to navigation
Jump to search
(Created page with "https://github.com/cloudflare/cfssl/issues/604") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
https://github.com/cloudflare/cfssl/issues/604 | https://github.com/cloudflare/cfssl/issues/604 | ||
+ | ``` | ||
+ | cfssl certinfo -cert my-client.pem | grep auth | ||
+ | echo 2C:AB:17:85:EF:3F:4C:9F:F6:F3:14:B2:8C:37:5C:2F:04:DA:4C:42 | sed 's/://g' | awk '{ print tolower($0) }' | ||
+ | |||
+ | {"serial": "246220726963537164012230256048287772377676155427", | ||
+ | "authority_key_id": "2cab1785ef3f4c9ff6f314b28c375c2f04da4c42", | ||
+ | "reason": "superseded"} | ||
+ | |||
+ | curl -d @revoke.json ${CFSSL_HOST}/api/v1/cfssl/revoke | ||
+ | ``` | ||
+ | |||
+ | ``` | ||
+ | select encode(certificates.status, 'escape') as your_alias_name from certificates; | ||
+ | ``` |
Latest revision as of 17:13, 12 October 2023
https://github.com/cloudflare/cfssl/issues/604
cfssl certinfo -cert my-client.pem | grep auth echo 2C:AB:17:85:EF:3F:4C:9F:F6:F3:14:B2:8C:37:5C:2F:04:DA:4C:42 | sed 's/://g' | awk '{ print tolower($0) }' {"serial": "246220726963537164012230256048287772377676155427", "authority_key_id": "2cab1785ef3f4c9ff6f314b28c375c2f04da4c42", "reason": "superseded"} curl -d @revoke.json ${CFSSL_HOST}/api/v1/cfssl/revoke
select encode(certificates.status, 'escape') as your_alias_name from certificates;