Common digital certificate formats and file name extensions

Source: Internet
Author: User
Tags openssl openssl x509 pkcs12
from: http://www.debsir.org/main/?q=node/146

The PKCS full name is Public-key cryptography standards, a set of standards developed by RSA Labs and other security system developers to facilitate the development of public key cryptography, which currently has a total of 15 standards. Commonly used are:
Pkcs#7 Cryptographic Message Syntax Standard
PKCS#10 Certification Request Standard
pkcs#12 Personal information Exchange Syntax Standard

The most common common certificate format is the. All certificates conform to the ITU-T X509 International Standard established for public Key Infrastructure (PKI).

Pkcs#7 commonly used suffixes are:. p7b. p7c. Spc
Pkcs#12 commonly used suffixes are:. P12. PFX
The suffix of the DER encoded (ASCII) is:. DER. Cer. Crt
The suffix of the Base64 is:. Pem. Cer. Crt

In the toolset of OpenSSL, you can typically specify DER or PAM format using-outform-inform. For example:
OpenSSL x509-in cert.pem-inform pem-out Cert.der-outform der

For the conversion of PEM to pkcs#12 in OpenSSL, refer to the command:
OpenSSL pkcs12-export-in cert.pem-out Cert.p12-inkey Key.pem

Pkcs#12 to PEM conversion in OpenSSL, refer to:
OpenSSL pkcs12-in cert.p12-out key.pem
OpenSSL x509-in key.pem-text-out Cer T.pem by Etony at 2007-03-16 03:41 | Notes | Etony's Blog | participate in  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.