Generate a self-signed certificate using openssl


In case you want to create a self-signed certificate for your application or reverse proxy, or for whatever other reason, you can do so with just one command

openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 3650