<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[运维进行时]]></title> 
<link>https://blog.liuts.com/index.php</link> 
<description><![CDATA[互联网运维与架构]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[运维进行时]]></copyright>
<item>
<link>https://blog.liuts.com/post/134/</link>
<title><![CDATA[Cherokee：最快的Web服务器]]></title> 
<author>root &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Thu, 22 May 2008 13:55:36 +0000</pubDate> 
<guid>https://blog.liuts.com/post/134/</guid> 
<description>
<![CDATA[ 
	　　Cherokee 号称是目前最快的 Web 服务器软件，在性能上，甚至比 Nginx 还略胜一筹。与 Apache、Lighttpd、Nginx 等其他同类软件的对比，大家不妨看看这个测试页面。我在本机安装了 Cherokee，一番使用下来，Cherokee 给我的感觉是，其易用性做得也很不错。<br/>　　Cherokee 的功能包括支持 FastCGI、SCGI、PHP、CGI、TLS 及 SSL 加密连接，虚拟主机，授权认证，实时编码，载入均衡，与 Apache 兼容的 log 文件等等。<br/>　　 Cherokee 内含一个名为 cherokee-admin 的工具，执行后，允许管理员直接通过浏览器进入 http://localhost:9090/ 对其进行管理和配置。比如，开启或关闭服务器，进行一般选项的设定，配置虚拟服务器、信息源、图标、Mime 类型等项目。<br/>　　 感兴趣的可进入 Cherokee 的官方主页作进一步的了解，或者下载其最新版本的源代码。<br/><a href="http://www.cherokee-project.com/doc/media/images/admin_handler_fastcgi1.png" target="_blank"><img src="http://www.cherokee-project.com/doc/media/images/admin_handler_fastcgi1.png" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0" align="left"/></a><br/>Tags - <a href="https://blog.liuts.com/tags/cherokee/" rel="tag">cherokee</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/133/</link>
<title><![CDATA[Cherokee安装文档[原创]]]></title> 
<author>root &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Thu, 22 May 2008 13:52:32 +0000</pubDate> 
<guid>https://blog.liuts.com/post/133/</guid> 
<description>
<![CDATA[ 
	听说Cherokee跟Cherokee车一样快，今天开来练练:)<br/><strong>一、安装</strong><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>mkdir install && cd install<br/>wget http://www.cherokee-project.com/download/0.11/0.11.6/cherokee-0.11.6.tar.gz<br/>tar -zxvf cherokee-0.11.6.tar.gz<br/>cd cherokee-0.11.6<br/>./configure --prefix=/usr/local/cherokee<br/>make<br/>make install<br/></div></div><br/><strong>二、运行</strong><br/>运行管理界面<br/>/usr/local/cherokee/sbin/cherokee-admin -b 192.168.100.10 -p 8080 -C /usr/local/cherokee/etc/cherokee/cherokee.conf<br/>Login:<br/>User: admin<br/>One-time Password: jnA5sivyp9Fk1xQ1<br/>Cherokee Web Server 0.11.6 (Jan 15 2009): Listening on port 8080, TLS disabled,<br/>IPv6 disabled, using epoll, 20480 fds system limit, max. 10233<br/>connections, single thread<br/><br/>说明：<br/>1、-b 192.168.100.10:邦定该IP，只允许从该IP访问管理平台。<br/>2、-p 8080:管理端口<br/>3、-C /usr/local...:配制文件<br/>4、密码是一次性的<br/><br/>启动管理平台支持，是python写的。不然会报：503 Service Unavailable<br/>/usr/local/cherokee/share/cherokee/admin/server.py 4000 /usr/local/cherokee/etc/cherokee/cherokee.conf<br/><br/><strong>三、配制</strong><br/>http://192.168.100.2:8080/<br/>管理界面出来了,如图：<br/><a href="http://www.cherokee-project.com/doc/media/images/admin_index.png" target="_blank"><img src="http://www.cherokee-project.com/doc/media/images/admin_index.png" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0" align="left"/></a><br/>1、Status<br/>显示cherokee服务的基本信息。<br/>2、General<br/>普通设置，包括端口、用户、组、超时等。<br/>3、Virtual Servers<br/>虚拟主机的配置，包括主机克隆、域名、主目录、主机路由、站点编码、gzip压缩、过期、验证等等。<br/>注：如只有一个虚拟主机时，必须设置Virtual Server nickname为'default'<br/>4、Information Sources<br/>消息源，方便多主机配置用。<br/>5、Icons<br/>主机图标管理<br/>6、MIME types<br/>配制主机支持的MIME头支持。<br/>7、Advanced<br/>高级配置，包括最大连接数、线程数、IO缓存等。<br/>Tags - <a href="https://blog.liuts.com/tags/cherokee/" rel="tag">cherokee</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/132/</link>
<title><![CDATA[设置apache可以让php在多个虚拟空间限制读写权限]]></title> 
<author>root &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Thu, 22 May 2008 13:50:43 +0000</pubDate> 
<guid>https://blog.liuts.com/post/132/</guid> 
<description>
<![CDATA[ 
	在httpd.conf虚拟主机域设置:<br/>php_admin_value open_basedir "/程序目录:/其他目录"<br/>Tags - <a href="https://blog.liuts.com/tags/%25E8%2599%259A%25E6%258B%259F%25E7%25A9%25BA%25E9%2597%25B4/" rel="tag">虚拟空间</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/84/</link>
<title><![CDATA[Linux 下整合apache+Resin+gzip配制]]></title> 
<author>root &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Sat, 22 Sep 2007 07:07:41 +0000</pubDate> 
<guid>https://blog.liuts.com/post/84/</guid> 
<description>
<![CDATA[ 
	1、整合apache+resin<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>安装apache:<br/>#./configure --prefix=/usr/local/apache --enable-module=most --enable-shared=max&nbsp;&nbsp;--enable-so&nbsp;&nbsp;--enable-rewrite --enable-deflate --enable-headers --with-mpm=prefork<br/>#make&nbsp;&nbsp;&& make install<br/></div></div><br/>2、融合apache与resin<br/><textarea name="code" class="shell" rows="15" cols="100">
#cd /src/resin-3.0.21/
#./configure --with-apxs=/usr/local/apache/bin/apxs --with-apache=/usr/local/apache && make && make install
#vi /usr/local/apache/conf/httpd.conf
add:
LoadModule caucho_module /usr/local/apache/modules/mod_caucho.so
<IfModule mod_caucho.c>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ResinConfigServer localhost 6802
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CauchoStatus yes
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<location " /caucho-status">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sethandler caucho-status
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</location>
</IfModule>
http://192.168.100.23/caucho-status出现resin的画面说明整合成功。
注：resin.conf配制修改：
<http server-id="" host="*" port="80"/>改成：
<http server-id="" host="*" port="8080"/>
<srun server-id="" host="*" port="6802"/>改成：
<srun server-id="" host="127.0.0.1" port="6802"/>
</textarea><br/>3、配制gzip支持。<br/><textarea name="code" class="shell" rows="15" cols="100">
#vi /usr/local/apache/conf/httpd.conf
<Location "/">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AddOutputFilterByType DEFLATE text/html text/plain text/xml
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BrowserMatch ^Mozilla/4 gzip-only-text/html
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BrowserMatch ^Mozilla/4&#92;.0[678] no-gzip
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BrowserMatch &#92;bMSI[E] !no-gzip !gzip-only-text/html
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Header append Vary User-Agent env=!dont-vary
</Location>
</textarea><br/>resin restart<br/>apachectl restart<br/>Tags - <a href="https://blog.liuts.com/tags/apache/" rel="tag">apache</a> , <a href="https://blog.liuts.com/tags/resin/" rel="tag">resin</a> , <a href="https://blog.liuts.com/tags/gzip/" rel="tag">gzip</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/8/</link>
<title><![CDATA[基于MySQL的Apache用户认证]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Tue, 14 Aug 2007 14:13:29 +0000</pubDate> 
<guid>https://blog.liuts.com/post/8/</guid> 
<description>
<![CDATA[ 
	wget http://mesh.dl.sourceforge.net/sourceforge/modauthmysql/mod_auth_mysql-2.9.0.tar.gz<br/>tar xzfv mod_auth_mysql-2.9.0.tar.gz<br/>cd mod_auth_mysql-2.9.0<br/>/usr/local/apache/bin/apxs -c -I/usr/local/mysql/include -L/usr/local/mysql/lib -lmysqlclient -lm -lz mod_auth_mysql.c<br/>/usr/local/apache/bin/apxs -i mod_auth_mysql.la<br/>vi /usr/local/apache/conf/httpd.conf<br/>添加:<br/>LoadModule mysql_auth_module modules/mod_auth_mysql.so<br/><div class="code"><br/>&lt;Directory &quot;/www/client/awstats/cgi-bin&quot;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Options None<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AllowOverride AuthConfig<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Order allow,deny<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allow from all<br/>&lt;/Directory&gt;<br/></div><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">.htaccess<br/>AuthName "请输入访问相册的帐号密码："<br/>AuthType Basic<br/>AuthUserFile /www/client/awstats/cgi-bin/.htpasswd<br/>AuthType Basic<br/>AuthName "请输入访问统计的帐号密码："<br/>AuthMySQLHost localhost<br/>AuthMySQLPort 3306<br/>AuthMySQLDB FTPdb<br/>AuthMySQLUser FTPUSER<br/>AuthMySQLPassword dfg5345345345756<br/>AuthMySQLPwEncryption md5<br/>AuthMySQLEnable On<br/>AuthMySQLUserTable ftpd<br/>AuthMySQLNameField User<br/>AuthMySQLPasswordField Password<br/>Require valid-user<br/></div></div><br/>#/usr/local/apache/bin/apachectl restart<br/>搞定。<br/>Tags - <a href="https://blog.liuts.com/tags/%25E7%2594%25A8%25E6%2588%25B7%25E8%25AE%25A4%25E8%25AF%2581/" rel="tag">用户认证</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/7/</link>
<title><![CDATA[apache_Linux_win目录认证]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Tue, 14 Aug 2007 14:04:51 +0000</pubDate> 
<guid>https://blog.liuts.com/post/7/</guid> 
<description>
<![CDATA[ 
	<strong>Linux</strong><br/>1、/www/client/photo<br/>2、vi httpd.conf<br/><div class="code">&lt;Directory &quot;/www/client/photo&quot;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Options Indexes MultiViews<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AllowOverride AuthConfig<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Order allow,deny<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allow from all<br/>&lt;/Directory&gt;<br/></div><br/>3、vi /www/client/photo/.htaccess<br/>AuthName "请输入访问相册的帐号密码："<br/>AuthType Basic<br/>AuthUserFile /www/client/photo/.htpasswd<br/>require valid-user<br/>4、htpasswd -c /var/www/test/.htpasswd ltsnet<br/>输入密码，ok。<br/>修改密码用：htpasswd -m .htpasswd ltsnet<br/>5、/usr/local/apache/bin/apachectl restart<br/><strong>WIN2000</strong><br/>1、d:&#92;soft<br/>2、vi httpd.conf<br/><div class="code"><br/>&lt;Directory &quot;d:/soft&quot;&gt;<br/>&nbsp;&nbsp;AuthType Basic<br/>&nbsp;&nbsp;AuthName 请输入访问密码：<br/>&nbsp;&nbsp;AuthUserFile c:/Apache2/user<br/>&nbsp;&nbsp;require valid-user<br/>&nbsp;&nbsp;Order allow,deny<br/>&nbsp;&nbsp;Allow from all<br/>&nbsp;&nbsp;#下面为目录列表<br/>&nbsp;&nbsp;Options Indexes MultiViews<br/>&nbsp;&nbsp;IndexOptions FancyIndexing ScanHTMLTitles NameWidth=128 DescriptionWidth=256 HTMLTable VersionSort FoldersFirst<br/>&nbsp;&nbsp;IndexOrderDefault Ascending Date<br/>&lt;/Directory&gt;<br/></div><br/>3、c:&#92;Apache2&#92;bin>htpasswd.exe -c c:&#92;&#92;apache2&#92;&#92;user ltsnet<br/>输入密码，ok。<br/>4、重启apache服务<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">net stop apache2<br/>net start apache2</div></div><br/>Tags - <a href="https://blog.liuts.com/tags/%25E7%259B%25AE%25E5%25BD%2595%25E8%25AE%25A4%25E8%25AF%2581/" rel="tag">目录认证</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/6/</link>
<title><![CDATA[使用cronolog格式化轮循apache日志文件]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Tue, 14 Aug 2007 13:44:28 +0000</pubDate> 
<guid>https://blog.liuts.com/post/6/</guid> 
<description>
<![CDATA[ 
	官方网址：<a href="http://cronolog.org" target="_blank">http://cronolog.org</a><br/>内容：<br/>使用cronolog可以格式化日志文件的格式，比如按时间分割，易于管理和分析。<br/>cronolog的安装配置非常简单，简要说明如下:<br/><strong>1.下载软件</strong><br/>http://cronolog.org/download/cronolog-1.6.2.tar.gz<br/><strong>2.解压缩</strong><br/>tar xzvf cronolog-1.6.2.tar.gz<br/><strong>3.进入相应的目录</strong><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">./configure --prefix=/usr/local/cronolog<br/>make<br/>make install</div></div><br/><strong>4.修改apache配置文件</strong><br/>CustomLog "&#124;/usr/local/cronolog/sbin/cronolog /opt/apache/logs/access_log.%Y%m%d" combined<br/>TransferLog "&#124;/usr/local/cronolog/sbin/cronolog /web/logs/%Y/%m/%d/access.log"<br/>ErrorLog&nbsp;&nbsp;&nbsp;&nbsp;"&#124;/usr/local/cronolog/sbin/cronolog /web/logs/%Y/%m/%d/errors.log"<br/>重起apache，这样就能在apache日志文件目录中按天来分隔日志了<br/>如果apache中有多个VirtualHost,也可以为每个VirtualHost分别输出一个日志的，方法与上面相同。<br/>Tags - <a href="https://blog.liuts.com/tags/apache/" rel="tag">apache</a> , <a href="https://blog.liuts.com/tags/logs/" rel="tag">logs</a> , <a href="https://blog.liuts.com/tags/cronolog/" rel="tag">cronolog</a> , <a href="https://blog.liuts.com/tags/%25E8%25BD%25AE%25E5%25BE%25AA%25E6%2597%25A5%25E5%25BF%2597/" rel="tag">轮循日志</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/5/</link>
<title><![CDATA[生成apache证书(https应用)]]></title> 
<author> &lt;&gt;</author>
<category><![CDATA[Apache]]></category>
<pubDate>Tue, 14 Aug 2007 13:44:26 +0000</pubDate> 
<guid>https://blog.liuts.com/post/5/</guid> 
<description>
<![CDATA[ 
	# cd /usr/local/apache2/conf<br/># tar zxvf ssl.ca-0.1.tar.gz<br/># cd ssl.ca-0.1<br/><span style="color: #0000FF;"><strong>生成根证书：</strong></span><br/># ./new-root-ca.sh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (生成根证书)<br/>No Root CA key round. Generating one<br/>Generating RSA private key, 1024 bit long modulus<br/>...........................++++++<br/>....++++++<br/>e is 65537 (0x10001)<br/>Enter pass phrase for ca.key:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(输入一个密码)<br/>Verifying - Enter pass phrase for ca.key:&nbsp;&nbsp;(再输入一次密码)<br/>......<br/>Self-sign the root CA...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (签署根证书)<br/>Enter pass phrase for ca.key:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(输入刚刚设置的密码)<br/>........<br/>........&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (下面开始签署)<br/>Country Name (2 letter code) [MY]:CN<br/>State or Province Name (full name) [Perak]:HaiNan<br/>Locality Name (eg, city) [Sitiawan]:HaiKou<br/>Organization Name (eg, company) [My Directory Sdn Bhd]:Wiscom System Co.,Ltd<br/>Organizational Unit Name (eg, section) [Certification Services Division]:ACSTAR<br/>Common Name (eg, MD Root CA) []:WISCOM CA<br/>Email Address []:acmail@wiscom.com.cn<br/><br/>这样就生成了ca.key和ca.crt两个文件，下面还要为我们的服务器生成一个证书：<br/><span style="color: #0000FF;"><strong>生成server证书：</strong></span><br/># ./new-server-cert.sh server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(这个证书的名字是server)<br/>......<br/>......<br/>Country Name (2 letter code) [MY]:CN<br/>State or Province Name (full name) [Perak]:HaiNan<br/>Locality Name (eg, city) [Sitiawan]:HaiKou<br/>Organization Name (eg, company) [My Directory Sdn Bhd]:Wiscom System Co.,Ltd<br/>Organizational Unit Name (eg, section) [Secure Web Server]:ACSTAR<br/>Common Name (eg, www.domain.com) []:acmail.wiscom.com.cn<br/>Email Address []:acmail@wiscom.com.cn<br/><br/>这样就生成了server.csr和server.key这两个文件。<br/><span style="color: #0000FF;"><strong>签署server证书：</strong></span><br/># ./sign-server-cert.sh server<br/>CA signing: server.csr -> server.crt:<br/>Using configuration from ca.config<br/>Enter pass phrase for ./ca.key:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (输入上面设置的根证书密码)<br/>Check that the request matches the signature<br/>Signature ok<br/>The Subject's Distinguished Name is as follows<br/>countryName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :PRINTABLE:'CN'<br/>stateOrProvinceName&nbsp;&nbsp; :PRINTABLE:'JiangSu'<br/>localityName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:PRINTABLE:'NanJing'<br/>organizationName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:PRINTABLE:'Wiscom System Co.,Ltd'<br/>organizationalUnitName:PRINTABLE:'ACSTAR'<br/>commonName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:PRINTABLE:'acmail.wiscom.com.cn'<br/>emailAddress&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:IA5STRING:'acmail@wiscom.com.cn'<br/>Certificate is to be certified until Jul 16 12:55:34 2005 GMT (365 days)<br/>Sign the certificate? [y/n]:y<br/>1 out of 1 certificate requests certified, commit? [y/n]y<br/>Write out database with 1 new entries<br/>Data Base Updated<br/>CA verifying: server.crt <-> CA cert<br/>server.crt: OK<br/> (如果这里出现错误，最好重新来过，删除ssl.ca-0.1这个目录，从解压缩处重新开始。)<br/><br/>下面要按照ssl.conf里面的设置，将证书放在适当的位置。<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"># chmod 400 server.key<br/># cd ..<br/># mkdir ssl.key<br/># mv ssl.ca-0.1/server.key ssl.key<br/># mkdir ssl.crt<br/># mv ssl.ca-0.1/server.crt ssl.crt</div></div><br/>然后就可以启动啦！<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"># cd /usr/local/apache2<br/># ./bin/apachectl startssl</div></div><br/>Tags - <a href="https://blog.liuts.com/tags/apache/" rel="tag">apache</a> , <a href="https://blog.liuts.com/tags/https/" rel="tag">https</a> , <a href="https://blog.liuts.com/tags/%25E8%25AF%2581%25E4%25B9%25A6/" rel="tag">证书</a>
]]>
</description>
</item>
</channel>
</rss>