Apache setting SSL CA

. . . .
.

在apache2 中啟用ssl mod: sudo a2enmod ssl

[email protected]:/etc/apache2/sites-available# cat ssl.conf 
<IfModule mod_ssl.c>
    <VirtualHost *:443>
        ServerAdmin [email protected]
        DocumentRoot /var/www/html

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        SSLEngine on
        SSLCertificateFile  /etc/ssl/crt/server.pem
        SSLCertificateKeyFile /etc/ssl/crt/server.key
    </VirtualHost>
</IfModule>