zoukankan      html  css  js  c++  java
  • apache https部署

    1.生成证书,直接在阿里云或腾讯云中生成此处不再介绍

    2.在httpd.conf中取消#LoadModule ssl_module modules/mod_ssl.so的注释

    3.开启httpd-ssl.conf/ssl.conf

       a).如果非手动安装Apache,不需要做任何操作

       b).如果手动安装Apache,在httpd.conf中取消#Include conf/extra/httpd-ssl.conf的注释

    4).配置httpd-ssl.conf/ssl.conf文件,找到VirtualHost节点

    •    SSLCertificateFile =》2_www.xxxx.com.crt
    •  SSLCertificateChainFile =》1_root_bundle.crt(证书链)
    •    SSLCertificateKeyFile =》2_www.xxxx.com.key
    •    新增DocumentRoot "E:/xxx/xxx"
    •    配置ServerName xxx.xx.xxx:443

    5).重启apache, service  httpd restart

       

  • 相关阅读:
    BUAA OO Unit1 表达式求导
    中介者模式
    命令模式
    观察者模式
    解释器模式
    策略模式
    迭代器模式
    模板方法模式
    代理模式
    桥接模式
  • 原文地址:https://www.cnblogs.com/mawenzhu/p/8317706.html
Copyright © 2011-2022 走看看