吾爱互联 发表于 2015-4-17 11:07:53

APACHE SSL数字证书该安装教程 -linux运维教程



            
          
                <p>APACHE SSL数字证书该安装教程
APACHE是全球使用量最大的开源Web Server产品 对SSL的支持友好</p>

<p>简单5步即可实现SSL安装在Apache上</p>

<p>第一步 下载证书
我们会将为您制作的SSL数字证书产品 发送至您在我们客户中心的邮箱
您可以登录该邮箱 下载您的SSL数字证书</p>

<p>第二步
查找您的APACHE配置文件位置
通常在 /etc/httpd 编辑
需要加载 mod_ssl.so</p>

<p>第三步
寻找到VirtuaHost的配置字段</p>

<p>这个是一个配置例子
&lt;VirtualHost 192.168.0.1:443&gt;
DocumentRoot /var/www/html2
ServerName www.yourdomain.com
SSLEngine on
SSLCertificateFile /path/to/your_domain_name.crt    域名证书
SSLCertificateKeyFile /path/to/your_private.key      加密密匙
SSLCertificateChainFile /path/to/root.crt         根证书链
&lt;/VirtualHost&gt;</p>

<p>第四步 测试
测试APACHE配置文件有无错误
apachectl configtest
如果有错误 则按照提示进行修正</p>

<p>第五步 重启
apachectl stop
apachectl start</p>


            

          
      
       

   
页: [1]
查看完整版本: APACHE SSL数字证书该安装教程 -linux运维教程