Enabling SSL Configuration

To enable the SSL configurations, complete the following steps:

Procedure

  1. Run the following command:
    sudo vi /etc/httpd/conf.d/ssl.conf
  2. Move the cursor to a blank line at the end of the <VirtualHost> block and press the I key on your keyboard.
  3. Copy and paste the following lines (without modifications):
    SSLProxyEngine on
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerCN off
    
    ProxyPreserveHost On
    ProxyPass / https://127.0.0.1:9443/
    ProxyPassReverse / https://127.0.0.1:9443/
    
  4. Press the Esc key and type :wq.
  5. To check for typo errors, execute the following command:
    sudo httpd -t to test
  6. To apply the changes, execute the following command:
    sudo systemctl restart httpd