天天看點

ssl證書搭建學習

證書在各服務商那都能免費申請,我申請的是華為的免費1年的

ssl搭建 證書順序

伺服器的端口443要開通,實在不會可以聯系客服

DocumentRoot "/var/www/html/" ServerName 網址:443

檔案配置,注意順序,注意順序,注意順序

SSLEngine on SSLCertificateFile /etc/httpd/ssl/server.crt SSLCertificateKeyFile /etc/httpd/ssl/server.key SSLCertificateChainFile /etc/httpd/ssl/ca.crt