1.yum install mod_ssl

2.接下来,我们需要创建一个新目录,我们将存储服务器密钥和证书
mkdir /root/ssl

3.vi /etc/httpd/conf.d/ssl.conf
SSLEngine on
SSLCertificateFile /root/ssl/apache.crt
SSLCertificateKeyFile /root/ssl/apache.key

4.service httpd restart

相关文章:

  • 2021-09-20
  • 2021-11-04
  • 2021-09-17
  • 2021-12-07
  • 2021-08-13
  • 2021-06-21
  • 2021-08-17
猜你喜欢
  • 2021-12-10
  • 2021-05-25
  • 2021-10-17
  • 2021-11-15
  • 2021-11-27
  • 2022-12-23
  • 2021-07-27
相关资源
相似解决方案