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
# 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
EOFCertificates and chains
The leaf, full chain, root CA and the chain as PKCS #7.
| File | Size | Details | Download |
|---|---|---|---|
| X.509 certificate (PEM)sample-certificate.pem | 769 B | Download | |
| Certificate chain (PEM bundle)sample-chain.pem | 2.2 KB | Download | |
| Root CA certificate (PEM)sample-root-ca.pem | 774 B | Download | |
| Certificate (.crt)sample-certificate.crt | 769 B | Download | |
| X.509 certificate (DER)sample-certificate.der | 526 B | Download | |
| PKCS #7 certificate bundle (.p7b)sample-chain.p7b | 2.1 KB | Download |
Keys and bundles
Private keys in three formats, a password-protected PKCS #12 bundle and a CSR.
| File | Size | Details | Download |
|---|---|---|---|
| EC private key (PKCS #8 PEM)sample-ec-private.key | 241 B | Download | |
| RSA 2048 private key (PKCS #1 PEM)sample-rsa-private.key | 1.6 KB | Download | |
| Encrypted private key (PKCS #8, password)sample-encrypted-private.key | 412 B | Download | |
| PKCS #12 bundle (.p12 / .pfx)sample-bundle.p12 | 2.3 KB | Download | |
| Certificate signing request (CSR)sample-request.csr | 493 B | Download | |
| Public key (PEM, SPKI)sample-public-key.pem | 178 B | Download |
SSH
An Ed25519 key pair in OpenSSH format.
| File | Size | Details | Download |
|---|---|---|---|
| SSH public key (Ed25519)id_ed25519.pub | 104 B | Download | |
| SSH private key (OpenSSH Ed25519)id_ed25519 | 387 B | Download |