开发者

webrequest.GetResponse https throw error 403 protocolerror on windows 2008 x64

I have a application use Webrequest to post and get some data from a server with a SSL certificate. It is all very well except on Window开发者_运维技巧s 2008 x64. The server return error 403 forbidden.

thanks in advance.

burns


After several debug, I found that is X509Certificate problem. does have the different behavior between window x32 and x64 with X509Certificate cert = X509Certificate.CreateFromCertFile(Path); Webrequest.ClientCertificates.Add(cert)?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜