打印

请问使用lamp 1.4版本安装的SSL证书浏览器显示不安全如何解决?

同样的问题,请问是怎么解决的?
"对应域名虚拟主机配置文件里 SSLCertificateKeyFile 行下面加上 SSLCertificateChainFile /etc/letsencrypt/live/域名/chain.pem"

这个“对应域名虚拟主机配置文件”是在“ /usr/local/apache/conf/vhost  ”目录下那个conf吗?打开后里面没有“SSLCertificateKeyFile”?

TOP

军哥,我打开了这个文件(/usr/local/apache/conf/vhost/www.xxxxxx.com.conf),但里面只有这些内容,(域名用xxxxxx替换了)


<VirtualHost *:xx>


ServerAdmin xxxxxx


php_admin_value open_basedir "/home/wwwroot/www.xxxxxx.com:/tmp/:/var/tmp/:/proc/"


DocumentRoot "/home/wwwroot/www.xxxxxx.com"


ServerName www.xxxxxx.com


ServerAlias xxxxxx.com


ErrorLog "/home/wwwlogs/www.xxxxxx.com-error_log"


CustomLog "/home/wwwlogs/www.xxxxxx.com-access_log" combined


<Directory "/home/wwwroot/www.xxxxxx.com">


    SetOutputFilter DEFLATE


    Options FollowSymLinks


    AllowOverride All


    Order allow,deny


    Allow from all


    DirectoryIndex index.html index.php


</Directory>


</VirtualHost>

TOP