Step 5: Configure Apache for HTTPS
Add the locations of your certs to the Apache configuration file.
-
For the Apache 1.3 manual, go to http://httpd.apache.org/docs/1.3.
-
For the Apache 2.0 manual, go to http://httpd.apache.org/docs/2.0/.
-
Set the Apache Web server Certificate Authority List directive created in Step 3 :
SSLCACertificateFile D:/Apache-Server/conf/ssl/ServerCAList.pem
-
Set the Apache Web server Certificate and associated private key directives created in Step 2 :
SSLCertificateFile D:/Apache-Server/conf/ssl/MyServer.crt
SSLCertificateKeyFile D:/Apache-Server/conf/ssl/MyServer.pem
-
Require the Apache Web server to verify the validity of all client certificates:
SSLVerifyClient require
In the next step we configure Apache for HTTP basic authentication, Step 6 : Configure Apache for HTTP basic authentication.