CRL - certificate revocation
I've looked through the docs but I can't seem to find a way to revoke a given certificate
This does not appear to work, in the sense that i messes up the crl.pem file and nothing works any more.
def revoke_
# load files
try:
with open(settings.
ca = crypto.
with open(settings.
ca_key = crypto.
except IOError as e:
raise
with open(settings.
crl = crypto.
for cert in certificates:
x509 = crypto.
revoked = crypto.Revoked()
crl_text = crl.export(ca, ca_key)
with open(settings.
Whay am I doing wrong?
Does any one have an example to which you could point me to?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- pyOpenSSL Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Deni Bertovic
- Solved:
- Last query:
- Last reply: