title: How to make file CRL and revoke certificate using pyOpenSSL?
body: <p>I have a Python script that looks for all x509 self-signed certificates in a directory, verifies them and writes information about them into the table (valid date, expiration date, subject, issuer).
  Is there any way to create a list of revoked .crl certificates using the pyOpenSSL library and revoke one of them?
  Or is it done only with the help of terminal commands and the os library?</p>
  
  <p>I did not find such questions with the answer on the forum.</p>