apache 配置ssl模块
1 创建存放证书的目录
$ sudo mkdir /etc/apache2/ssl
2 开启ssl模块
a2enmod ssl
3.添加如下配置
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
4 重启apapche2
1 创建存放证书的目录
$ sudo mkdir /etc/apache2/ssl
2 开启ssl模块
a2enmod ssl
3.添加如下配置
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
4 重启apapche2