httpd默认用户用户组为http:http
默认网站根目录为 /srv/http
想要部署TLS必须先有一个证书,用下面的命令自签名一个不带CSR的证书
# cd /etc/httpd/conf # openssl req -new -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -days 1095 # chmod 400 server.key
httpd默认用户用户组为http:http
默认网站根目录为 /srv/http
想要部署TLS必须先有一个证书,用下面的命令自签名一个不带CSR的证书
# cd /etc/httpd/conf # openssl req -new -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -days 1095 # chmod 400 server.key