|Table of Contents|
This article provides a process to configure secure browsing (HTTPS) to the Uptime web interface over SSL. The steps are guaranteed to work with Uptime IM 7.7 and later. If you are looking for a similar solution for an earlier version of Uptime IM, please see Implementing HTTPS Browsing for the Web Interface with Apache 2.2.
- 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_sskssl_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
LoadModule rewrite_module modules/mod_rewrite.so
Finally, the last part is to add entries in httpd.conf that will rewrite the requests as HTTPS. At the bottom of the httpd.conf file, add these lines, changing <uptime_dir> to the directory of your Uptime installation. Please note that the following example uses a specific list of ciphers. You can change the list of ciphers according to your security requirements.