7.18.12 PEM Format
PEM format is a BASE64 encoding of the binary format (DER) with begin and end line markers.
X509 certificate in PEM format:
-----BEGIN CERTIFICATE-----
MIIDBjCCAe6gAwIBAgIISlmOxw+N3SgwDQYJKoZIhvcNAQEEBQAwQzELMAkGA1UE
BhMCQVUxDDAKBgNVBAgTA05TVzEWMBQGA1UEChMNTEFOU0EgUHR5IEx0ZDEOMAwG
A1UEAxMFTEFOU0EwHhcNMDIwNTI5MjMxOTE4WhcNMDUwNTMwMjMxOTE4WjBDMQsw
CQYDVQQGEwJBVTEMMAoGA1UECBMDTlNXMRYwFAYDVQQKEw1MQU5TQSBQdHkgTHRk
MQ4wDAYDVQQDEwVMQU5TQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
ALgMWPw7Lr9c5KOsyYOcJoDV71VLAAX/QaH0ARXcsa/2haAxD4G5aG0lGhtlGudX
aoQ9OzuOgpN2nCrxKiu7L6d1cdoxCxwJ83M4akY6aZn1LhL4gL05e0SUGJOn/dOZ
FvK01pUUHD6lqQ0uX33lZoeGVSzxsG4lc2WKniSt7QYlx0C13UmNHFn1gTjFSti3
FBZElF8snJyLNBXqYRWTAkSdR+xyqJMWesb+L/Uq27vjoanquipVeWlSbSbzZKvS
05QnBHFKM0Cxd44msmn7vDdGv0Pm9ooP6VB6IMKx0mhU9aHmae51s/q4pmZTxdc
hL3vslN9mpz2p221+06ew+ECAwEAATANBgkqhkiG9w0BAQQFAAOCAQEAU0JF9heH
2Ti2+goGeWsUoXc331aDt/I1mBBQvst8KiTbUQSMjmRToSIE5CAG+J17IrggQW6T
TnQOBrcLimXpUhi/K4O7bbuFp9i9jsDPjPuecOKL548++2xvhhbVBzTOZN32LJyp
TBWJCQNxSoxUY0K+joC1gCH/VbRdsZfh/EnIHcpJugoWK0IhSqJHKyfVeyN7QiyI
bwy6xnODF/QcTZ3pD5JWP2CdiuFPSg6e54rkIWihhdeuYEWjF3XveVjhvJqCqFTd
DPOzaYMl17IqNcrekpPt5uzjSySTs1PJst8TBlTx0mKnWGMJVKzOHR3q7zJZ3iiF
tCeSu9DCPBQthQ==
-----END CERTIFICATE-----
Certificate request in PEM format:
-----BEGIN NEW CERTIFICATE REQUEST-----
MIIBejCB5AIBADA7MQswCQYDVQQGEwJBdTEMMAoGA1UECBMDbnN3MQ4wDAYDVQQK
EwVMQU5TQTEOMAwGA1UEAxMFQWxpY2swgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ
AoGBAJf9Sd2HoXVBus9hoDXv2bh5oAv7Tmz+3iJV0qYj1SGMlu0tsDmayHO9egXN
t0khXs+Sk4rrZbXN7LyhKviHRxHUYd9Et98VoUoF1tSTCWa+sAoRdjWPgLM39CHf
aqWr/+fphy7xDxQMFAHRjx2LDYpyoxWEdVuhW1KjaCL9khpvAgMBAAGgADANBgkq
hkiG9w0BAQQFAAOBgQBT2xVhoFGQg/lOS5IB3/QB5EYubaAwrWrqQEn3zRVScGyi
p81obId6bqrSR3HgiuwLKPeVRRUyTTrgzQCCocJzznzAlcanTEUmPoga56LTVyP/
ht7ARrQPDcRiALAD7SxyXMyKPKBwyPRiDbSp0CQcxNIoypLvrLCCxin4GgA0A==
-----END NEW CERTIFICATE REQUEST-----