Fill common name, org, and validity, then generate a 2048-bit key plus PEM cert. Key generation is CPU-heavy and runs in this tab via the Forge library loaded from jsDelivr. FlashKit is not a certificate authority and does not submit anything to a public CA.
Browsers and CAs will not trust this certificate. Chrome, Firefox, and Safari will show a warning on the public Internet. Use Let’s Encrypt or your cloud load balancer for public HTTPS. Never use a self-signed cert as “security” on a public checkout.
Worked example. CN localhost, short validity, generate, copy the PEM cert and key into nginx or your local HTTPS server, then trust that cert in your OS trust store for that hostname only. Do not commit the key. The cert includes a subjectAltName (DNS for the CN; for localhost also IP:127.0.0.1). OpenSSL one-liner and trust-store steps: create a self-signed SSL certificate for localhost.
How to make a self-signed dev certificate
- Set CN to localhost or your .test hostname.
- Generate and wait — RSA-2048 can freeze a low-end phone for a few seconds.
- Download or copy the key and cert. Store them outside git if they matter.
- Trust the cert in your OS/browser only for that local hostname.
Key Features
- RSA-2048 self-signed PEM
- Configurable CN and validity
- No FlashKit account
- Forge runs in-page (CDN script — not a FlashKit-hosted CA)
What “free SSL” this is not
- This page does not issue a publicly trusted certificate. There is no ACME, no Let’s Encrypt, no Domain Validation.
- Visitors to a production hostname will still see a certificate warning.
- Convert existing PEM/DER/PFX files on the SSL converter page — conversion is not issuance either.
- Pair with the htpasswd generator only for a throwaway local basic-auth box, still behind HTTPS you actually control.
What a localhost certificate actually contains
- Common name localhost, any organisation text, country US, validity 365 produces a 2048-bit RSA key and a self-signed certificate. The subject and the issuer are the same list: the common name you typed, country, ST set to State, locality set to City, the organisation you typed, and OU set to IT. Those State, City, and IT values are filled in even if you never typed them.
- The subjectAltName for localhost is DNS:localhost plus IP:127.0.0.1. Common name app.test gets DNS:app.test only. It does not add 127.0.0.1. An empty common name is replaced with localhost and therefore gets both names. Country usa is stored as US, the first two characters uppercased. Validity 10.9 becomes 10 days. Validity 0 or a blank becomes 365.
- The certificate is signed with SHA-256. The serial number is random, so two clicks do not produce the same PEM. The only extension written is subjectAltName. This is not a certificate-authority certificate.
When the file is the wrong thing to install
- Browsers will not trust this certificate for a public hostname. Installing it as a trusted root on a shared computer trusts every site you later sign with that same key. Trust it, if you must, only for the local name you typed, on the machine that runs the dev server.
- The private key is shown in the tab. It is not sent to a certificate authority, and it is not stored by FlashKit. Anyone who can scroll the page can copy it. Do not commit it, and do not reuse a key you generated on a machine you do not control.
- A name that is not localhost does not receive the loopback IP in the SAN list. Clients that connect to 127.0.0.1 while the certificate only lists app.test will still warn. Generate a second certificate for the name you actually open.
How to make a dev certificate you can point nginx at
- Set the common name to the host you will type in the browser, keep validity short, generate, and wait for the 2048-bit key. Copy the certificate PEM and the private key PEM into the local server config. Restart that server. Trust the certificate in the operating system store for that host only.
- If you already have a PEM, DER, or P7B file, the format converter is the other page. This page only creates a new self-signed pair.
Frequently Asked Questions
Will Chrome show a padlock on production?
Not with a self-signed cert. Users will see a warning. Buy or issue a publicly trusted cert.
Do you keep the private key?
FlashKit does not store it. The key still existed in this tab’s memory. Close the tab when done.
Is this a Let’s Encrypt generator?
No. It builds a self-signed cert in the browser. It cannot prove you own a public domain.