Use and utility of .p12 certificate/file

爱⌒轻易说出口 提交于 2019-11-29 06:31:37

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/19604668/use-and-utility-of-p12-certificate-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!