Enabling HTTPS in IBM Spectrum LSF RTM

Use SSL by enabling HTTPS for IBM Spectrum LSF RTM.

Procedure

  1. 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
  2. Test the certificate.
  3. 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
  4. 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>
    
  5. Enter the command service httpd restart.