Certificates & Keys · 4 files
Sample KEY Files
Private keys in PEM form: PKCS #8 EC, traditional PKCS #1 RSA, password-encrypted PKCS #8, and an OpenSSH Ed25519 key. They are published test fixtures — never use them for anything real.
All 4 KEY files
Download all with curl
# 4 files, 2.6 KB in total
while read -r url; do curl -LO --fail "$url"; done <<'EOF'
https://files.samplefiles.com/certificate/key/sample-ec-private.key
https://files.samplefiles.com/certificate/key/id_ed25519
https://files.samplefiles.com/certificate/key/sample-encrypted-private.key
https://files.samplefiles.com/certificate/key/sample-rsa-private.key
EOF| File | Size | Details | Download |
|---|---|---|---|
| EC private key (PKCS #8 PEM)sample-ec-private.key | 241 B | Download | |
| SSH private key (OpenSSH Ed25519)id_ed25519 | 387 B | Download | |
| Encrypted private key (PKCS #8, password)sample-encrypted-private.key | 412 B | Download | |
| RSA 2048 private key (PKCS #1 PEM)sample-rsa-private.key | 1.6 KB | Download |
FAQ
Is it safe to publish these private keys?
They exist only for testing parsers and tooling. Because they are public, nothing signed or encrypted with them can be trusted — which is exactly why they must never be used in production.