Questo contenuto non è disponibile nella lingua selezionata.
Chapter 9. Configuring httpd for SSL connections
9.1. Configuring httpd for SSL connections Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
Procedure 9.1. To configure httpd for ssl connections:
- Install mod_ssl using the following command:
rpm -qa | grep mod_ssl
# rpm -qa | grep mod_sslCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit the
HTTPD_HOME/conf.d/ssl.conffile and addServerName,SSLCertificateFile, andSSLCertificateKeyFileCopy to Clipboard Copied! Toggle word wrap Toggle overflow ServerNamemust match the Common Name (CN) of the SSL certificate. If theServerNamedoes not match the CN, the client browsers display a message "domain mismatch".- The
SSLCertificateFileis the private key associate with the certificate (the public key). - Verify that the Listen directive in the
ssl.conffile is correct as per your setup. For example, if an IP address is specified, it must match the IP address the httpd service is bound to.
- Restart httpd using the following command:
service httpd restart
# service httpd restartCopy to Clipboard Copied! Toggle word wrap Toggle overflow