title: Extracting .cer file from .pfx with PyOpenSSL
body: <p>I have a program in python that extracts .cer file from .pfx. I did it using directly openssl from OS commmand:</p>
  <p><code>'openssl pkcs12 -in {0} -clcerts -nokeys -out {1} -passin pass:&quot;{2}&quot;'.format(pfx_path, cer_path, password)</code></p>
  <p>I would like to know if there is some possibility of doing it directly with PyOpenSSL Lib.</p>
  <p>Any ideas how?</p>