Question

What is the utility of .p12 file/certificate? I am not getting any correct definition when searching the internet:

  • In one site I got "it stores server side certificates along with intermediate certificates and private key in one file. Its mostly used in Windows Machine"

  • In another site i got "it binds a organizations public key with its name.

My question is whether its public key or private key which is included in the .p12 certificate.

Était-ce utile?

La solution

The .p12 contains both the private and the public key, and also information about the owner (name, email address, etc. ) all being certified by a third party. With such certificate, a user can identify himself and authenticate himself to any organization trusting the third party.

You should be able to see the content of the p12 file with

openssl pkcs12 -info -in filename.p12

provided openssl is installed in your system.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top