<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://goxia.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://goxia.maytide.net/read.php/1739.htm</link>
<title><![CDATA[[SBS] 排错 Windows Server 2012 Essentials SSTP VPN 0x80092013 故障]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Windows Server]]></category>
<pubDate>Fri, 29 Aug 2014 07:11:01 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1739.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/SBS_C647/logo_winserver2012_thumb1.png"><img title="logo_winserver2012_thumb[1]" border="0" alt="logo_winserver2012_thumb[1]" src="http://goxia.maytide.net/ftpupfiles/SBS_C647/logo_winserver2012_thumb1_thumb.png" width="220" height="44"></a></p> <p><strong><font color="#fd3f0d" size="4">排错 Windows Server 2012 Essentials SSTP VPN 0x80092013 故障</font></strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Server 2012 Essentials 可通过配置向导来启用 VPN 服务，使公司用户能够在外网通过 VPN 接入到内部。当客户端基于 SSTP 协议连接 VPN 时可能会遇到 0x80092013 故障“由于吊销服务器已脱机，吊销功能无法检查吊销。”</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/vpn-1.png"><img title="vpn-1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="vpn-1" src="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/vpn-1_thumb.png" width="350" height="245"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这是证书服务的一种安全机制，类似我们使用 IE 访问一些 HTTPS 网站时也会遇到类似的提示，但是用户可以略过警告，或者通过 IE 的高级配置将其屏蔽。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/image_thumb.png" width="339" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 按照这个思路，开始尝试通过禁用证书的 OCSP 检测来解决问题，运行 MMC 并加载证书管理，找到这个根证书进入其属性，切换到详细信息选项卡，并点击“编辑属性”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/vpn-2png.png"><img title="vpn-2png" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="vpn-2png" src="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/vpn-2png_thumb.png" width="347" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 OCSP 选项卡中勾选“禁用证书吊销列表”，之后重新连接 VPN 测试，发现无效。也许正如前面提到的是因为安全机制要求 SSTP VPN 必须验证证书吊销。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/vpn-3.png"><img title="vpn-3" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="vpn-3" src="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/vpn-3_thumb.png" width="347" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 回到起点分析 0x80092013 故障，因为吊销服务器脱机导致无法获取证书吊销列表（CRL），那就先从访问吊销服务器开始排错。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先，查看此 CA 办法的证书，可访问 Essentials 的 RWA 站点，可从证书的详细信息中查到 CRL 分发点信息，如下图所示 CRL 分发点是一个 URL 地址，在内网访问该地址是正常的，能够下载 CRL。由于该地址并不是一个完整的 Internet 网址，所以用户无法从外部正常访问，从而未能获得 CRL。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/image_3.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/image_thumb_3.png" width="347" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 既然如此，只要保证用户在外部能够获取到 CRL 就应该能够解决问题，根据现有 CRL 的 URL 地址，对照 Essentials 的 RWA 结构，该 CRL 外部的访问地址应该类似“http://remote.contoso.com/certenroll/contoso-ess-ca.crl”，果断从外部访问该 URL 成功拿到了 CRL。那么就可以为此根证书指定 CRL 的位置，为此回到前面提到的 OCSP 设置位置，手工添加这个 CRL 外部可访问的 URL 地址，再次测试发现又失败了！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 搜索了知识库找到了 <a href="http://support.microsoft.com/kb/961880" target="_blank">KB961880</a>，故障分析结果倒是完全相同，不过官方给出的解决办法是配置证书服务器，在 CA 服务器属性的扩展选项卡中添加新的可供外部访问的 CRL 分发点地址，并确认复选“包括在 CRL 中，客户端使用它来寻找增量 CRL 的位置”，“包含在颁发的证书的 CDP 扩展中”，“包括在已发布的 CRL 的 IDP 扩展中”。如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/CRL.png"><img title="CRL" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="CRL" src="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/CRL_thumb.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 此外，要将之前已存在的基于 HTTP 发布的 CRL 地址复选框都去掉，接下来就是等待，默认是 1 周的时间。当然如果实在等不及，也可以修改“吊销的证书”属性中的 CRL 发布参数，将其改为 1 小时，等生效后再恢复默认设置即可。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/image_4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SBSHOWTO-_C94F/image_thumb_4.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在连接 VPN 已经不会再出现 0x80092013 故障了！</p>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1739.htm#blogcomment5009</link>
<title><![CDATA[[评论] [SBS] 排错 Windows Server 2012 Essentials SSTP VPN 0x80092013 故障]]></title> 
<author>九叔 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 15 Sep 2014 01:30:56 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1739.htm#blogcomment5009</guid> 
<description>
<![CDATA[ 
	有个简单的方法可以解决这个问题，只要域架构在Windows Server 2008以上，就可以通过修改模板的方法，让颁发出来的证书不检查吊销，然后重新发张证书就可以了。
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1739.htm#blogcomment5010</link>
<title><![CDATA[[评论] [SBS] 排错 Windows Server 2012 Essentials SSTP VPN 0x80092013 故障]]></title> 
<author>gOxiA &lt;goxia@live.cn&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 15 Sep 2014 08:27:22 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1739.htm#blogcomment5010</guid> 
<description>
<![CDATA[ 
	to:九叔, 嗯可以复选在证书中不包含吊销信息，有机会再试试。
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1739.htm#blogcomment5015</link>
<title><![CDATA[[评论] [SBS] 排错 Windows Server 2012 Essentials SSTP VPN 0x80092013 故障]]></title> 
<author>yinjie &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 25 Sep 2014 09:48:23 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1739.htm#blogcomment5015</guid> 
<description>
<![CDATA[ 
	也可以在操作后手动更新CRL，命令是certutil -CRL
]]>
</description>
</item>
</channel>
</rss>