全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
12
返回列表 发新帖
楼主: cnx

[已解决] 呵呵,大C的SSL证书安上了

[复制链接]
 楼主| 发表于 2010-3-13 14:42:12 | 显示全部楼层

回复 10# 的帖子

不需要,只要crt和key就行了。
发表于 2010-3-13 14:45:48 | 显示全部楼层
哦,正在摧毁VPS,重建系统……
 楼主| 发表于 2010-3-13 14:51:46 | 显示全部楼层
你也可以参考一下这儿的:
https://www.startssl.com/?app=21

First of all you have to load the mod_ssl module. Many distributions and packages have this module shipped by default, otherwise check the documentation of Apache how to do this.

To configure a default SSL/TLS aware virtual server, you should add at least the following lines to your httpd.conf or ssl.conf file:


LoadModule ssl_module modules/mod_ssl.so

Listen 443

<VirtualHost _default_:443>
   DocumentRoot /home/httpd/private
   ErrorLog /usr/local/apache/logs/error_log
   TransferLog /usr/local/apache/logs/access_log
   SSLEngine on
   SSLProtocol all -SSLv2
   SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM

   SSLCertificateFile /usr/local/apache/conf/ssl.crt
   SSLCertificateKeyFile /usr/local/apache/conf/ssl.key
   SSLCertificateChainFile /usr/local/apache/conf/sub.class1.server.ca.pem
   SSLCACertificateFile /usr/local/apache/conf/ca.pem
   SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
   CustomLog /usr/local/apache/logs/ssl_request_log \
      "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
发表于 2010-3-13 15:27:28 | 显示全部楼层
为何hostloc没SSL版  
发表于 2010-3-13 15:28:35 | 显示全部楼层

回复 14# 的帖子

主要是不想折腾,懒
发表于 2010-3-13 15:31:26 | 显示全部楼层
生命在于折腾……
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-6-7 23:18 , Processed in 0.060347 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表