<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>榆树网 &#187; https</title>
	<atom:link href="http://www.wenzk.com/archives/tag/https/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wenzk.com</link>
	<description>http://www.wenzk.com</description>
	<lastBuildDate>Thu, 09 Feb 2012 07:57:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Zimbra如何安装StartSSL签发的免费证书</title>
		<link>http://www.wenzk.com/archives/1193</link>
		<comments>http://www.wenzk.com/archives/1193#comments</comments>
		<pubDate>Mon, 21 Mar 2011 07:57:37 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[startssl]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[证书]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1193</guid>
		<description><![CDATA[首先登录Zimbra后台，选择“证书”-&#62;“安装证书”-&#62;“生成商业证书授权所需的CSR”，然后下一步下一步就可以搞定，记住Key的大小要选择2048，StartSSL要求最小是2048. 把生成的证书提交到StartSSL申请签发证书，很快就可以签发下来的。 将ca.pem 和 sub.class1.server.ca.pem保存至本地，刚刚签发的证书也保存到本地。 重新登陆Zimbra后台，选择“证书”-&#62;“安装证书”-&#62;“安装商业单位签名证书”，选择相应的文件点“安装”，最后提示：“invalid request: missing required attribute: server”，这个是让人感到很郁闷的提示。不知道如何解决。 经过一番Google之后，终于有高人出来说话了： 最终还是需要命令行来搞定啊，SSH登录Zimbra服务器，找到相应的Key文件，先确认Key和证书是否匹配。 接下来重启Zimbra即可。 相关文章如何让Zimbra支持https (0)将 Zimbra Desktop 设为默认电子邮件程序 (0)zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED (0)为什么不能用Outlook、Foxmail收取Zimbra的邮件 (0)Zimbra如何支持SPF、DCC及Razor (0)]]></description>
			<content:encoded><![CDATA[<p>首先登录Zimbra后台，选择“证书”-&gt;“安装证书”-&gt;“生成商业证书授权所需的CSR”，然后下一步下一步就可以搞定，记住Key的大小要选择2048，StartSSL要求最小是2048.</p>
<p>把生成的证书提交到StartSSL申请签发证书，很快就可以签发下来的。</p>
<p>将ca.pem 和 sub.class1.server.ca.pem保存至本地，刚刚签发的证书也保存到本地。</p>
<p><span id="more-1193"></span>重新登陆Zimbra后台，选择“证书”-&gt;“安装证书”-&gt;“安装商业单位签名证书”，选择相应的文件点“安装”，最后提示：“invalid request: missing required attribute: server”，这个是让人感到很郁闷的提示。不知道如何解决。</p>
<p>经过一番Google之后，终于有高人出来说话了：</p>
<pre class="brush: plain; title: ; notranslate">Place the csr and the private key in /opt/zimbra/ssl/zimbra/commercial directory and name them: commercial.csr and commercial.key.
 Make sure the permissions are set to 740 root:root
 Make a new directory, ex: /root/certs
 Place the singed cert and the bundle cert in /root/certs
 Verify that the cert and the key match via this command run As ROOT
 # cd /root/certs
 # /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key ./&lt;crt_file&gt; ./&lt;bundle_file&gt;
 If the output looks good, you can deploy the certificate via this command:
 # /opt/zimbra/bin/zmcertmgr deploycrt comm ./&lt;crt_file&gt; ./&lt;bundle_file&gt;
 The final step would be to restart the zimbra services for the change to take effect</pre>
<p>最终还是需要命令行来搞定啊，SSH登录Zimbra服务器，找到相应的Key文件，先确认Key和证书是否匹配。</p>
<pre class="brush: plain; title: ; notranslate">#cat sub.class1.server.ca.pem &gt;&gt; ca.pem

#/opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key mail.crt ca.pem

** Verifying mail.crt against /opt/zimbra/ssl/zimbra/commercial/commercial.key
Certificate (mail.crt) and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match.
Valid Certificate: mail.crt: OK

# /opt/zimbra/bin/zmcertmgr deploycrt comm ./mail.crt ./ca.pem

** Verifying ./mail.crt against /opt/zimbra/ssl/zimbra/commercial/commercial.key
Certificate (./mail.crt) and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match.
Valid Certificate: ./mail.crt: OK
** Copying ./mail.crt to /opt/zimbra/ssl/zimbra/commercial/commercial.crt
** Appending ca chain ./ca.pem to /opt/zimbra/ssl/zimbra/commercial/commercial.crt
** Importing certificate /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt to CACERTS as zcs-user-commercial_ca...done.
** NOTE: mailboxd must be restarted in order to use the imported certificate.
** Saving server config key zimbraSSLCertificate...done.
** Saving server config key zimbraSSLPrivateKey...done.
** Installing mta certificate and key...done.
** Installing slapd certificate and key...done.
** Installing proxy certificate and key...done.
** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done.
** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
** Installing CA to /opt/zimbra/conf/ca...done.</pre>
<p>接下来重启Zimbra即可。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1185" title="如何让Zimbra支持https">如何让Zimbra支持https</a> (0)</li><li><a href="http://www.wenzk.com/archives/1509" title="将 Zimbra Desktop 设为默认电子邮件程序">将 Zimbra Desktop 设为默认电子邮件程序</a> (0)</li><li><a href="http://www.wenzk.com/archives/1501" title="zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED">zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED</a> (0)</li><li><a href="http://www.wenzk.com/archives/1477" title="为什么不能用Outlook、Foxmail收取Zimbra的邮件">为什么不能用Outlook、Foxmail收取Zimbra的邮件</a> (0)</li><li><a href="http://www.wenzk.com/archives/1451" title="Zimbra如何支持SPF、DCC及Razor">Zimbra如何支持SPF、DCC及Razor</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1193/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>如何让Zimbra支持https</title>
		<link>http://www.wenzk.com/archives/1185</link>
		<comments>http://www.wenzk.com/archives/1185#comments</comments>
		<pubDate>Mon, 21 Feb 2011 20:54:33 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[443]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[邮件]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1185</guid>
		<description><![CDATA[都说这么干就可以了： 但是有可能会出现tomcat找不到的情况 返回到root下，运行 /etc/init.d/zimbra restart 就可以啦。 认证、修改密码的时候自动跳转到https，其他大部分时间工作在http下。 相关文章zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED (0)Zimbra如何安装StartSSL签发的免费证书 (3)Zimbra如何启用IM插件 (0)将 Zimbra Desktop 设为默认电子邮件程序 (0)为什么不能用Outlook、Foxmail收取Zimbra的邮件 (0)]]></description>
			<content:encoded><![CDATA[<p>都说这么干就可以了：</p>
<pre class="brush: bash; title: ; notranslate">su - zimbra
zmtlsctl mixed
tomcat restart</pre>
<p>但是有可能会出现tomcat找不到的情况<br />
返回到root下，运行<br />
/etc/init.d/zimbra restart<br />
就可以啦。<br />
认证、修改密码的时候自动跳转到https，其他大部分时间工作在http下。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1501" title="zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED">zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED</a> (0)</li><li><a href="http://www.wenzk.com/archives/1193" title="Zimbra如何安装StartSSL签发的免费证书">Zimbra如何安装StartSSL签发的免费证书</a> (3)</li><li><a href="http://www.wenzk.com/archives/1182" title="Zimbra如何启用IM插件">Zimbra如何启用IM插件</a> (0)</li><li><a href="http://www.wenzk.com/archives/1509" title="将 Zimbra Desktop 设为默认电子邮件程序">将 Zimbra Desktop 设为默认电子邮件程序</a> (0)</li><li><a href="http://www.wenzk.com/archives/1477" title="为什么不能用Outlook、Foxmail收取Zimbra的邮件">为什么不能用Outlook、Foxmail收取Zimbra的邮件</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1185/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何让Firefox自动使用HTTPS访问Google</title>
		<link>http://www.wenzk.com/archives/886</link>
		<comments>http://www.wenzk.com/archives/886#comments</comments>
		<pubDate>Fri, 25 Jun 2010 16:43:47 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-杂项]]></category>
		<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[安全连接]]></category>
		<category><![CDATA[防火墙]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=886</guid>
		<description><![CDATA[最近GFW对Google的关键词增加了不少，查找很多东西都有可能会被reset。既然在使用Firefox，为何不安装插件来搞定这事情。 找到好几个插件，例如：https://addons.mozilla.org/zh-CN/firefox/addon/161901 都是在Firefox搜索框增加一个通过https查询的功能，但是对于用户从地址栏输入：www.google.com或通过google的工具栏来搜索就无能为力了。 为了更好的解决这个问题，决定使用另外一个方式来搞定，首先安装插件：https://addons.mozilla.org/zh-CN/firefox/addon/5064/，然后通过浏览器访问：www.google.com，如果自动跳转到www.google.com.hk，则点击最下方的Google.com in English。 配置Redirector，增加以下2条规则： 将http://www.google.com/ =&#62; https://www.google.com/ 注意最后面的”/”。 将http://www.google.com/search?* =&#62; https://www.google.com/search?$1 。 重新输入www.google.com试试，看是否使用HTTPS访问了。 相关文章Google搜索启用https安全连接了 (1)单IP做NAT支持的最大连接数问题 (0)解决Android下Google Maps无法通过GSM基站定位问题 (0)Zimbra如何安装StartSSL签发的免费证书 (3)如何让Zimbra支持https (0)]]></description>
			<content:encoded><![CDATA[<p>最近GFW对Google的关键词增加了不少，查找很多东西都有可能会被reset。既然在使用Firefox，为何不安装插件来搞定这事情。</p>
<p>找到好几个插件，例如：https://addons.mozilla.org/zh-CN/firefox/addon/161901 都是在Firefox搜索框增加一个通过https查询的功能，但是对于用户从地址栏输入：www.google.com或通过google的工具栏来搜索就无能为力了。</p>
<p><span id="more-886"></span>为了更好的解决这个问题，决定使用另外一个方式来搞定，首先安装插件：https://addons.mozilla.org/zh-CN/firefox/addon/5064/，然后通过浏览器访问：www.google.com，如果自动跳转到www.google.com.hk，则点击最下方的Google.com in English。</p>
<p>配置Redirector，增加以下2条规则：</p>
<p>将http://www.google.com/ =&gt; https://www.google.com/ 注意最后面的”/”。</p>
<p>将http://www.google.com/search?* =&gt; https://www.google.com/search?$1 。</p>
<p>重新输入www.google.com试试，看是否使用HTTPS访问了。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/869" title="Google搜索启用https安全连接了">Google搜索启用https安全连接了</a> (1)</li><li><a href="http://www.wenzk.com/archives/1356" title="单IP做NAT支持的最大连接数问题">单IP做NAT支持的最大连接数问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1245" title="解决Android下Google Maps无法通过GSM基站定位问题">解决Android下Google Maps无法通过GSM基站定位问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1193" title="Zimbra如何安装StartSSL签发的免费证书">Zimbra如何安装StartSSL签发的免费证书</a> (3)</li><li><a href="http://www.wenzk.com/archives/1185" title="如何让Zimbra支持https">如何让Zimbra支持https</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/886/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google搜索启用https安全连接了</title>
		<link>http://www.wenzk.com/archives/869</link>
		<comments>http://www.wenzk.com/archives/869#comments</comments>
		<pubDate>Sat, 22 May 2010 05:33:52 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[加密]]></category>
		<category><![CDATA[安全]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=869</guid>
		<description><![CDATA[Google搜索终于支持https访问了，好处多多，搜索的内容不容易被泄露了，基于关键字被墙的可能性就没有了，除非基于IP地址的墙。 相关文章如何让Firefox自动使用HTTPS访问Google (0)TrueCrypt一款免费的加密软件 (0)解决Android下Google Maps无法通过GSM基站定位问题 (0)Zimbra如何安装StartSSL签发的免费证书 (3)如何让Zimbra支持https (0)]]></description>
			<content:encoded><![CDATA[<p>Google搜索终于支持https访问了，好处多多，搜索的内容不容易被泄露了，基于关键字被墙的可能性就没有了，除非基于IP地址的墙。</p>
<p><span id="more-869"></span></p>
<p><a href="http://www.wenzk.com/wp-content/uploads/2010/05/Google1.png" class="highslide-image" onclick="return hs.expand(this);"><img class="alignnone size-medium wp-image-870" title="Google1" src="http://www.wenzk.com/wp-content/uploads/2010/05/Google1-300x211.png" alt="" width="300" height="211" /></a></p>
<p><a href="http://www.wenzk.com/wp-content/uploads/2010/05/Google2.png" class="highslide-image" onclick="return hs.expand(this);"><img class="alignnone size-medium wp-image-871" title="Google2" src="http://www.wenzk.com/wp-content/uploads/2010/05/Google2-300x211.png" alt="" width="300" height="211" /></a></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/886" title="如何让Firefox自动使用HTTPS访问Google">如何让Firefox自动使用HTTPS访问Google</a> (0)</li><li><a href="http://www.wenzk.com/archives/1393" title="TrueCrypt一款免费的加密软件">TrueCrypt一款免费的加密软件</a> (0)</li><li><a href="http://www.wenzk.com/archives/1245" title="解决Android下Google Maps无法通过GSM基站定位问题">解决Android下Google Maps无法通过GSM基站定位问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1193" title="Zimbra如何安装StartSSL签发的免费证书">Zimbra如何安装StartSSL签发的免费证书</a> (3)</li><li><a href="http://www.wenzk.com/archives/1185" title="如何让Zimbra支持https">如何让Zimbra支持https</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/869/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

