Use case · 14 files

Test TLS, certificates and keys

Certificate tooling has to cope with many encodings of the same thing. Every file here comes from one small test PKI, so you can check that your parser, keystore import or chain validation gives consistent results. The private keys are public test fixtures: never trust them.

Download all with curl
Download 14 files (12.9 KB)Shell
# 14 files, 12.9 KB in total
while read -r url; do curl -LO --fail "$url"; done <<'EOF'
https://files.samplefiles.com/certificate/pem/sample-certificate.pem
https://files.samplefiles.com/certificate/pem/sample-chain.pem
https://files.samplefiles.com/certificate/pem/sample-root-ca.pem
https://files.samplefiles.com/certificate/crt/sample-certificate.crt
https://files.samplefiles.com/certificate/der/sample-certificate.der
https://files.samplefiles.com/certificate/p7b/sample-chain.p7b
https://files.samplefiles.com/certificate/key/sample-ec-private.key
https://files.samplefiles.com/certificate/key/sample-rsa-private.key
https://files.samplefiles.com/certificate/key/sample-encrypted-private.key
https://files.samplefiles.com/certificate/p12/sample-bundle.p12
https://files.samplefiles.com/certificate/csr/sample-request.csr
https://files.samplefiles.com/certificate/pem/sample-public-key.pem
https://files.samplefiles.com/certificate/pub/id_ed25519.pub
https://files.samplefiles.com/certificate/key/id_ed25519
EOF

Certificates and chains

The leaf, full chain, root CA and the chain as PKCS #7.

FileSizeDetailsDownload
X.509 certificate (PEM)sample-certificate.pem769 BDownload
Certificate chain (PEM bundle)sample-chain.pem2.2 KBDownload
Root CA certificate (PEM)sample-root-ca.pem774 BDownload
Certificate (.crt)sample-certificate.crt769 BDownload
X.509 certificate (DER)sample-certificate.der526 BDownload
PKCS #7 certificate bundle (.p7b)sample-chain.p7b2.1 KBDownload

Keys and bundles

Private keys in three formats, a password-protected PKCS #12 bundle and a CSR.

FileSizeDetailsDownload
EC private key (PKCS #8 PEM)sample-ec-private.key241 BDownload
RSA 2048 private key (PKCS #1 PEM)sample-rsa-private.key1.6 KBDownload
Encrypted private key (PKCS #8, password)sample-encrypted-private.key412 BDownload
PKCS #12 bundle (.p12 / .pfx)sample-bundle.p122.3 KBDownload
Certificate signing request (CSR)sample-request.csr493 BDownload
Public key (PEM, SPKI)sample-public-key.pem178 BDownload

SSH

An Ed25519 key pair in OpenSSH format.

FileSizeDetailsDownload
SSH public key (Ed25519)id_ed25519.pub104 BDownload
SSH private key (OpenSSH Ed25519)id_ed25519387 BDownload