title: How to revoke an openssl certificate when you don't have the certificate
body: <p>I made an openssl certificate signed by the CA created on the local machine.</p>
  
  <p>This certificate was deleted and I don't have it anymore.</p>
  
  <p>It is impossible to create another certificate with the same commonName because openssl doesn't allow it and will generate the error:</p>
  
  <pre><code>failed to update database
  TXT_DB error number 2
  </code></pre>
  
  <p>How can I revoke the certificate to create another one with the same commonName ?</p>