RSA Key Pair + OpenSSL Command
Generate an RSA key pair and get the OpenSSL command to create a self-signed certificate.
Key size:
Related Tools
FAQ
- Can I use this certificate in production?
- Self-signed certificates are not trusted by browsers or operating systems by default. They are suitable for development, testing, and internal services.
- Why provide an openssl command instead of the cert?
- Building a complete X.509 ASN.1 structure in the browser without a library is extremely error-prone. The openssl approach is reliable and gives you a properly formed certificate.
Generate an RSA-2048 or RSA-4096 key pair using Web Crypto and export both keys as PEM. Because constructing a full X.509 ASN.1 structure in the browser is extremely complex, this tool also generates the exact openssl command pre-filled with your subject details, so you can create the self-signed certificate locally with a single command.