title: How to extract certificate from .p12 (PFX) file using KEYTOOL commands
body: <p>I want to extract certificate from a <code>.p12</code> file. I can't use <code>openssl</code> as it is not allowed in my organization. </p>
  
  <p>Is <code>keytool</code> able to extract the certificate, or is there any other way by which I can get this certificate extracted?</p>
  
  <p>Do I require the password for the private key for this?</p>