๐Ÿช„ Self-Signed SSL Certificate Generator

Generate a self-signed SSL certificate and RSA private key for use in testing and development environments.

โš ๏ธ A self-signed certificate isn't issued by a trusted CA, so browsers will show a "not secure" warning. Use it only for local development and testing.

How to use

  1. Enter the Common Name (domain) and organization info.
  2. Choose the validity period and key size.
  3. Click "Generate" to download the certificate and private key.

๐ŸŽฏ Use Cases

Example

Input
Common Name: localhost
Country: KR   Validity: 365 days   Key Size: 2048 bit
Output
-----BEGIN CERTIFICATE-----
MIIDIzCCAgugAwIBAgIUbx0Rcj4iJjOAcQZSTq7GgqRE8fcwDQYJKoZIhvcNAQEL
BQAwITELMAkGA1UEBhMCS1IxEjAQBgNVBAMMCWxvY2FsaG9zdDAeFw0yNjA3MjIw
โ€ฆ (a private key key.pem is generated too)
-----END CERTIFICATE-----

Setting the Common Name to localhost produces a self-signed certificate (cert.pem) whose subject and issuer match, plus a private key (key.pem). Each generation uses a fresh random key, so the actual value differs every time; the output above is a representative sample.

FAQ

Is the private key sent to a server?
No. RSA key generation and signing are all handled by the browser's Web Crypto API, and the generated output follows the same logic that has been verified with actual openssl signature verification.
Can I use this in production?
A self-signed certificate isn't signed by a trusted Certificate Authority (CA), so visitors' browsers will show a warning. For production, use a certificate from a public CA such as Let's Encrypt.
Can I use the generated certificate on a local dev server?
Yes. If you set a local domain such as localhost as the Common Name, you can use it directly with a local HTTPS dev server.

More Security Tools

๐Ÿ”‘
Password Generator
Generate strong random passwords
#๏ธโƒฃ
Hash Generator
Generate MD5, SHA-1, SHA-256 hashes
๐Ÿ“ฑ
QR Code Generator
Turn text/URLs into a QR code
๐Ÿ—๏ธ
htpasswd Generator
Generate APR1-MD5 hashed passwords
๐Ÿ”
SSL Certificate Viewer
Check issuer, validity & SANs
๐Ÿ“œ
CSR Viewer
Check CSR subject & public key info
โ™ป๏ธ
SSL Certificate Converter
Convert PEM โ†” DER (HEX)
๐Ÿค
Cert/Key Pair Checker
Verify a certificate matches its private key
๐Ÿฉบ
SSL Checker
Check HTTPS connectivity & trust
๐Ÿ”
Base64 Encode/Decode
Convert text โ†” Base64
๐Ÿ”‘
HTTP Auth Header Generator
Build Basic/Bearer Authorization headers
๐Ÿชช
JWT Decoder
Inspect JWT header/payload, verify HS256
๐ŸŽซ
Random Token Generator
Generate Hex/Base64/UUID tokens
๐Ÿ”’
Jasypt Encrypt/Decrypt
Encrypt/decrypt Spring Boot ENC(...) values