...
Code Block |
---|
cd <openssl_dir>/bin openssl req -new -x509 -newkey rsa:4096 -nodes -out uptime_ssl_server.crt -keyout uptime_ssl_server.key |
Working with wildcard certs / pfx certs
You'll need to pull key and crt files from the pfx first. To do this:
Take the file you exported (e.g. certname.pfx) and copy it to your Uptime server, or somewhere you have openSSL installed. You’ll need to supply your password the pfx file was created with in the steps that follow.
- Run the following command to export the private key:
openssl pkcs12 -in certname.pfx -nocerts -out uptime_ssl_key.pem –nodes - Run the following command to export the certificate:
openssl pkcs12 -in certname.pfx -nokeys -out uptime_ssl_cert.pem - Run the following command to remove the passphrase from the private key:
openssl rsa -in uptime_ssk_key.pem -out uptime_ssl_server.key - Run the following command to produce the cert file
openssl pkcs12 -in certname.pfx -clcerts -nokeys -out uptime_ssl_server.crt
Move the files to the Uptime Infrastructure Monitor directory
...