Certificate Decoder

{{data.file.name || 'Upload file or paste base64 context'}}

Certificate Decoder

Subject

Field Data Encoding Type
CommonName(CN) {{item.value}} {{item.stringType}}
Organization(O) {{item.value}} {{item.stringType}}
Organization Unit(OU) {{item.value}} {{item.stringType}}
Locality(L) {{item.value}} {{item.stringType}}
State(ST) {{item.value}} {{item.stringType}}
Country(C) {{item.value}} {{item.stringType}}
EMAIL(E) {{item.value}} {{item.stringType}}
{{item.type}} {{item.value}} {{item.stringType}}

Property

Theme {{certInfo.subject}}
Key Length {{certInfo.keyLength}}
Algorithm {{certInfo.algorithm}}
SHA1 {{certInfo.sha1}}
extKeyUsage {{certInfo.extKeyUsage}}
sans {{certInfo.sans}}
ocspUrl {{certInfo.ocspUrl}}
crlUrl {{certInfo.crlUrl}}
caUrl {{certInfo.caUrl}}
SN {{certInfo.serialNumber}}
keyUsage {{certInfo.keyUsage}}
issue {{certInfo.issue}}
root {{certInfo.root}}
Validity {{certInfo.validity}}
Issued Date {{certInfo.startDate | date:'yyyy-MM-dd HH:mm:ss'}}
Expired Date {{certInfo.endDate | date:'yyyy-MM-dd HH:mm:ss'}}
PublicKey {{certInfo.publicKey}}
base64(sha256) {{certInfo.publicKeySha256Base64}}
ASN1

OpenSSL Transfermation

DER to PEM
openssl x509 -out server.cer -in <your server cert> -inform DER
-outform PEM openssl pkey -out server.key -in <your privatekey>
-inform DER -outform PEM
PFX Reviewer
openssl pkcs12 -info -in <your pfx file>
PEM to PFX
openssl pkcs12 -export -out server.pfx -in <your server cert> -inkey
-certfile <our CACerts> -name <your keyalias>
PFX to PEM
openssl pkcs12 -clcerts -nokeys -out server.cer -in <your pfx file> &&
openssl pkcs12 -nocerts -out server.key -in <your pfx file> -nodes &&
openssl pkcs12 -cacerts -nokeys -out CACerts.txt -in <your pfx file>

KeyTool Transfermation

JKS Reviewer
keytool -list -v -keystore <your jks file>
PFX to JKS
keytool -importkeystore -srckeystore <your pfx file> -destkeystore
server.jks -srcstoretype PKCS12 -deststoretype JKS
JKS to PFX
keytool -importkeystore -srckeystore <your jks file> -destkeystore
server.pfx -srcstoretype JKS -deststoretype PKCS12