時間:2023-07-16 02:42:01 | 來源:網(wǎng)站運營
時間:2023-07-16 02:42:01 來源:網(wǎng)站運營
CentOS 8 Apache 啟用 SSL:在 CentOS 8 安裝成功后,如果希望啟用 ssl,你需要執(zhí)行下面的一些操作。# dnf install mod_ssl
apachectl -M | grep ssl
服務(wù)器可能會返回:firewall-cmd --zone=public --permanent --add-service=httpsfirewall-cmd --zone=public --permanent --add-port=80/tcpfirewall-cmd --reloadsystemctl restart firewalld
/etc/httpd/conf.d/ssl.conf
在上面的配置文件中,需要設(shè)置 key 和 crt 信息,請參考網(wǎng)絡(luò)上的配置。關(guān)鍵詞:啟用
微信公眾號
版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。