DevTools Logo

PKI Key Pair Generator

PKI Key Pair Generator

Generate RSA keys, self-signed X.509 certificates and CSRs with node-forge — fully client-side

PKI settings

About this tool

TLS development often needs self-signed certificates or CSRs before a real CA is involved. OpenSSL commands are powerful but easy to mistype.

Generate RSA or ECDSA key pairs, self-signed X.509 certificates with SAN for your CN, or PKCS#10 CSRs — all as PEM text in the browser via node-forge.

How to use

  1. Mode

    Pick key pair, self-signed cert or CSR output.

  2. Subject

    Set CN, organization and country for cert/CSR modes.

  3. Copy PEM

    Import certificate and key into nginx, Caddy or local trust store.

Common mistakes

Mistake:Using self-signed certs in production.

Fix:Self-signed material is for dev/test only — use a public or internal CA for production TLS.

Frequently asked questions