Skip to content
Novus Examples
pem1.2 KB

X.509 Certificate (PEM)

A self-signed X.509 v3 certificate in PEM (Base64) encoding with a SAN and key-usage extensions — published sample material for testing certificate and TLS parsers. Not a real identity.

Preview — first 22 linespem
-----BEGIN CERTIFICATE-----
MIIDgzCCAmugAwIBAgIITk9WVVNFWEEwDQYJKoZIhvcNAQELBQAwSDELMAkGA1UE
BhMCVVMxIDAeBgNVBAoMF05vdnVzIEV4YW1wbGVzIChTYW1wbGUpMRcwFQYDVQQD
DA5zYW1wbGUuZXhhbXBsZTAeFw0yNjAxMDEwMDAwMDBaFw0zNjAxMDEwMDAwMDBa
MEgxCzAJBgNVBAYTAlVTMSAwHgYDVQQKDBdOb3Z1cyBFeGFtcGxlcyAoU2FtcGxl
KTEXMBUGA1UEAwwOc2FtcGxlLmV4YW1wbGUwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQDVYX/9q9aj3LffeA6qgRpQThR90RprignfD6G58QdlfCbs1czA
TJYL4ayoSbGA7YqVFqnzdo6SJsYfhZXnUfix7TQ4tO33C1l7pwkKp9yW/+ClIf90
PG6VZKRkWyD2inJSooR7uT8TUlsQ8J/mhif77RDYVLZO3SkIgOeovv9leo56DsdZ
NjG9nJ4jD4ySsabKelY83liABb/Bk5aIFdRFdoVsTvzC3RYK7SFj5Kyyl8PDJnDG
++8dAdJ1yWZ5TRw/3e3OyPNzTMZflm6wBG5kC0cE3KAawmuHFsQcdfRVsL5sxBMg
XS0HHaJwDOAtRAUfD1oUewiNymvH9xt+o2fVAgMBAAGjcTBvMA8GA1UdEwEB/wQF
MAMBAf8wLQYDVR0RBCYwJIIOc2FtcGxlLmV4YW1wbGWCEnd3dy5zYW1wbGUuZXhh
bXBsZTAOBgNVHQ8BAf8EBAMCAaYwHQYDVR0OBBYEFCfhJFEoR9J0R4bH96krekM+
sS71MA0GCSqGSIb3DQEBCwUAA4IBAQADS8P8s0n7y9Ba0iJJOIZ5mu57QdClraD+
LNbFdughQjHKO1PQ5yEvPR7eSqueoNniUXvBNfapTnme3Fh+jJe8zExjmMglyDYj
igEP4Mq/qso1OzWLdRQQz9QMwhnEwA7O+K0uzmFqf6+gXDZAoCU1SjRujO1hIT5T
4QRxNGXSrDwx0dIBjQWlbpSAjoFrZbkdoodUOtoPcBQnZNrRYyaW5NFjpvi5CvNx
PyBCNjHdKuMVrR62hjM3nXGD4HzfhKAL+S0k5awoPg8l3q7P7vLvN59G8WpkuDpv
8tYfXfqF55I6tO4g3YX15ZICGkIjG+K0vOA6SN/D37TuzTbnzAhO
-----END CERTIFICATE-----

Specifications

Format
X.509 v3 (PEM)
Subject
CN=sample.example
Key
RSA 2048
Signature
sha256WithRSA
Self Signed
true
Sample Only
true

What is a .pem file?

PEM (Privacy-Enhanced Mail) is a text container that Base64-encodes DER binary data between BEGIN/END header lines, used to hold X.509 certificates, certificate requests, and keys. A single .pem file may contain a certificate, a chain, or a private key, which makes it the most common format for TLS material.

How to use this file

Use an example .pem certificate to test X.509 and TLS parsers, PEM decoders, certificate-chain validators, and PEM-to-DER converters. This is published sample material — never a real production key.

How to use this file for testing

“X.509 Certificate (PEM)” is a deterministic Novus Examples fixture for Certificate & key testing, Editor testing. Self-signed X.509 certificates (PEM, CRT, DER), a CSR, RSA and Ed25519 keys, an SSH public key, a PKCS#12 bundle, and an htpasswd file — all published sample-only material, for testing certificate parsers, TLS tooling, keystore importers, and PEM/DER decoders.

Documented properties for this file: X.509 v3 (PEM). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks — delimiters, encodings, null handling, schema, and row counts — in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

This is a published, sample-only certificate/key. Parse it, verify the chain or signature, and test PEM↔DER conversion — never deploy it anywhere real.

Generated by generation/pki_security.py. Free for any use, no attribution required — license.