DER encoded certificate
From Just Solve the File Format Problem
(Difference between revisions)
m (→Sample files) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
'''DER encoded certificate''' is a file format for storing an [[X.509 certificate]]. | '''DER encoded certificate''' is a file format for storing an [[X.509 certificate]]. | ||
− | It is one type of [[ | + | It is one type of [[DER]] file. DER is a subset of [[Basic Encoding Rules|BER]] format. BER is a serialization format for the abstract [[ASN.1]] format. |
+ | |||
+ | See also [[PEM encoded certificate]]. | ||
== Examples == | == Examples == | ||
Line 17: | Line 19: | ||
== Software == | == Software == | ||
− | * [ | + | * [[OpenSSL]] |
== Sample files == | == Sample files == | ||
* [http://apps.cybersource.com/library/downloads/CyberSource_SJC_US.crt CyberSource certificate] | * [http://apps.cybersource.com/library/downloads/CyberSource_SJC_US.crt CyberSource certificate] | ||
+ | * {{DexvertSamples|other/derCertificate}} | ||
== Links == | == Links == | ||
* [http://www.cybersource.com/developers/test_and_manage/managing/update_keys_and_certificates/ Info on certificate files at CyberSource site] | * [http://www.cybersource.com/developers/test_and_manage/managing/update_keys_and_certificates/ Info on certificate files at CyberSource site] | ||
+ | * [[Wikipedia:X.690#DER_encoding|Wikipedia: DER encoding]] |
Latest revision as of 21:43, 28 December 2023
DER encoded certificate is a file format for storing an X.509 certificate.
It is one type of DER file. DER is a subset of BER format. BER is a serialization format for the abstract ASN.1 format.
See also PEM encoded certificate.
Contents |
[edit] Examples
To display the contents of a DER encoded certificate using OpenSSL:
openssl x509 -noout -text -inform der -in example.der
To convert from DER encoded certificate format to PEM encoded certificate format:
openssl x509 -in example.der -inform der -outform pem -out example.pem