
26 Configuring Your Secure Web Server
SSLDisable directive is used to disable SSL for your non-secure
web server.
SSLEnable SSLEnable enablestheSSLprotocolengine. TheSSLEnable
directive is used to enable SSL within the virtual host tags for your
secure web server.
SSLRequireSSL SSLRequireSSL denies access to all requests unless
SSL is in use. This is a good security safeguard, since its use pro-
vides a backup in case of any configuration errors that could leave
normally secure documents unprotected.
SSLCertificateFile The SSLCertificateFile states the path to your
certificate. After your certificate is created, it will be saved in
/etc/httpd/conf/httpsd.crt,
your secure web server’s SSLCertificateFile.
SSLCertificateKeyFile The SSLCertificateKeyFile states the path
to your key. After your key is created,it will be saved in
/etc/httpd/conf/httpsd.key,
your secure web server’s SSLCertificateKeyFile.
SSLCACertificateFile The SSLCACertificateFile namesafile where
your secure web server keeps all of the certificates (public keys) for
all of the CAs with which it interacts. This file is used for client au-
thentication. Your secure web server’s SSLCACertificateFile is
/etc/ssl/ca-cert-bundle.pem.
SSLVerifyClient SSLVerifyClient sets a level of required verification
for client authentication. By default, your secure web server’s
SSLVerifyClient is set to none, meaning that it doesn’t require
client authentication.
SSLLogFile The SSLLogFile provides a place for any error messages
generated by SSL. Most of these error messages will be duplicated
in your secure web server’s “real” error log. By default, your secure
web server’s SSL-specific error log is
/var/log/httpd/sslstat log.
Commentaires sur ces manuels