roy
1
I am able to start single pod deployment on Kubernetes and after PKI Secrets Engine initialization I was able to generate certificates & revoke it.
But I didn’t get how can I
- Get list of revoked certificates ?
- Get certificate Serial Number from certificate ?
appreciate any help on this
nhw76
2
Your CRL will contain your List of Revoked Certificates, I suppose?
If you have a certificate saved as a file, you can use openssl to get the serial number.
e.g. openssl x509 -serial -noout < my-cert.pem
roy
3
What’s command I need to use to get list of revoked certificate ?
roy
5
Following returns binary DER-encoded CRL
curl http://127.0.0.1:8200/v1/pki/crl/pemcurl
How do I get serial no from binary DER-encoded CRL ?
http api gives me
/ # curl
–header “X-Vault-Token: s.rfvtgb6XV0nzn57uVRTsip3H2G”
http://127.0.0.1:8200/v1/pki/crl/rotate
{“errors”:[“permission denied”]}