Step 5: Configure apache for HTTPS

You must configure Apache to support HTTPS by adding the required modules. Please refer to the Apache Web server documentation for more information.

Once the Apache Web server supports HTTPS, you must change or add the following directives to the Apache configuration file:

  • 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

Note: The Apache Web server must be started on a machine where the host is the same as the one defined in the subject of the server's certificate (www.MyServer.com in our case).