- pm2
- linux systemd
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365openssl rsa -in key.pem -out newkey.pem && mv newkey.pem key.pemOr using the commands below: from this link:
openssl genrsa -out key.pem 1024openssl req -new -key key.pem -out csr.pemcmd-i and then click Copy Preferences to Profile.
reference link