Certificates · Browser-local generation

Self-Signed Certificate Generator

Create an X.509 certificate and matching private key for local HTTPS, internal services, and TLS testing. Include the DNS names and IP addresses your clients actually use.

Native Web Crypto · No uploads · No saved history

Self-signed does not mean publicly trusted. Browsers and clients will reject this certificate unless you explicitly configure trust. Use a publicly trusted certificate authority for public websites.
1. Configure the certificate

A display name, up to 64 UTF-8 bytes. Use a hostname or IP when adding it to SANs.

Sets extended key usage. All certificates have CA:FALSE and cannot issue other certificates.

One name per line, or comma-separated. Up to 100 unique DNS names or IPv4/IPv6 addresses. Optional DNS: and IP: prefixes. Use ASCII/punycode for international domains. A wildcard must be the entire first label, such as *.example.test. No URLs, ports, CIDR ranges, or IPv6 zone IDs. Duplicate names are removed.

P-256 is compact and fast. Choose RSA when your TLS stack requires it; RSA 4096 can take longer.

1–365 whole days. Starts five minutes before generation to allow slight clock differences. Exact UTC dates appear in the result.

Optional subject details

Two-letter country code; optional. Details are self-asserted, not identity-verified.

Ready. Generation starts only when you press the button.

Use a self-signed certificate deliberately

Names and trust are separate checks

For a server certificate, include every hostname and IP used to connect. DNS names go into dNSName SANs; addresses go into iPAddress SANs. A wildcard covers one label, so *.example.test does not cover example.test or a.b.example.test. A correct name still needs explicit trust in the connecting client.

Keep trust narrow and lifetimes short

Configure a specific application's trust or certificate pinning when supported. Do not disable TLS verification or teach users to bypass warnings. This tool does not install certificates, create a CA, provide revocation, or issue publicly trusted certificates. If a private key leaks, replace the certificate and key, and remove the old trust configuration.

What is generated?

A fresh key pair, random positive 128-bit serial, and X.509 v3 certificate with matching subject and issuer. Extensions include critical basic constraints (CA:FALSE), critical key usage, your selected TLS purpose, SANs, and matching subject/authority key identifiers. ECDSA uses digitalSignature; RSA server certificates also include keyEncipherment. Validity is capped at 365 days by this tool, not as a claim about public-CA rules.

Formats follow RFC 5280 and RFC 5758. Key generation, signing, verification, and hashing use the browser's Web Crypto API. Client policy and software support may impose additional requirements.