Windows2003、IIS6、ASP、Request.ClientCertificate("Certificate")最后一字节错误

如标题所言,我们发现通过该数组取出来的证明书的最后或倒数第二个字节是错误的。

多番调查、试验、追踪原因,发现竟然又是MS的BUG!

 

http://support.microsoft.com/kb/916833/en-us/

 

Consider the following scenario. You browse an .asp Web page that is hosted on Microsoft Internet Information Services (IIS) 5.0. You then use the same client and keyset to browse the same .asp Web page, but the Web page is hosted on IIS 6.0.

In this scenario, the contents of the Request.ClientCertificate("Certificate") field are incorrect when the page is hosted on IIS 6.0. For example, the last byte of the content is incorrect when you use a COM component to write the content to a certificate in ASN.1 format.


This issue occurs because the size and offset of the certificate content are not calculated correctly when the .asp Web page is hosted on IIS 6.0.

 

什么时候我已经对微软越来越失望了,当一次两次遇到微软的BUG的时候,我们会想,金无足赤嘛,微软这么庞大一个帝国,岂能没有BUG?但是当一而再再而三地遇到这样的情况,浪费诸多工时和感情结果证明到头来不过是个BUG,慢慢地我们就麻木了,和微软的技术,也就疏远了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值