title: Find if a certificate is self signed or CA signed
body: <p>I have a web app, which allows user to upload pkcs12.  I store the pkcs12 as binary in database.  Is there any way for me to know if the certificate in the pkcs12 is self signed or CA signed?</p>
  
  <p>I am running a Java web app on tomcat and have openssl at my disposal.</p>