Tested tool guide
Tested browser tools
Checked August 16, 2026
What Self-Signed Certificate Generator does, with a checked example
This tool builds a self-signed X.509 certificate in your browser: you pick the subject name (common name, organization, country, and so on), the validity period, and the key algorithm, and you get the certificate and its private key as downloadable PEM files. 'Self-signed' means the certificate is signed by the key it carries, so subject and issuer are the same name. The thing most people get wrong: nothing trusts this certificate until you install it in a device's trust store, and even then the hostname you visit must appear in its subjectAltName.
Worked example
A concrete input and expected output from the current implementation.
Input
Common name: localhost; organization: Local Development; validity: 365 days; key: RSA 2048
->
Expected output
A PEM certificate (-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----) and its matching private key. The certificate decodes to: Subject CN = localhost, O = Local Development; Issuer CN = localhost, O = Local Development (identical, so self-signed); valid 2026-08-16 to 2027-08-16; public key RSA 2048.
Self-signed means the certificate is signed by the key it carries, so subject and issuer are necessarily the same. 365 days after 2026-08-16 falls on 2027-08-16 because the interval contains no February 29.