Enabling HTTPS in IBM Spectrum LSF RTM
Use SSL by enabling HTTPS for IBM Spectrum LSF RTM.
Procedure
-
Generate a self-signed certificate. Note: If your system already has its own key, this step can be skipped.
# openssl genrsa -out test.key 2048. # openssl req -new -key test.key -out server.csr # openssl x509 -req -days 365 -in server.csr -signkey test.key -out server.crt
- Test the certificate.
- Add the following to the ssl.conf configuration file at
/etc/httpd/conf.d :
SSLCertificateFile /etc/httpd/conf/server.crt SSLCertificateKeyFile /etc/httpd/conf/test.key
- Add the following to the httpd.conf configuration file
/etc/httpd/conf/ :
<VirtualHost rtm.com:443> DocumentRoot /opt/IBM/cacti/ ServerName rtm.com SSLEngine on SSLCertificateFile /etc/httpd/conf/server.crt SSLCertificateKeyFile /etc/httpd/conf/test.key </VirtualHost>
- Enter the command service httpd restart.