OpenSSL - Generate self-signed cert in one line (Misc)
A one liner to generate a self-signed SSL certificate (usually for testing purposes)
Details
- Language: Misc
Snippet
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout cert.key -out cert.crt