Enabling SSL Configuration
To enable the SSL configurations, complete the following steps:
Procedure
-
Run the following command:
sudo vi /etc/httpd/conf.d/ssl.conf -
Move the cursor to a blank line at the end of the
<VirtualHost>block and press the I key on your keyboard. -
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/ - Press the Esc key and type :wq.
-
To check for typo errors, execute the following command:
sudo httpd -t to test -
To apply the changes, execute the following command:
sudo systemctl restart httpd