Rong
Rong

Reputation: 21

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 Windows 2008 x64. The server return error 403 forbidden.

thanks in advance.

burns

Upvotes: 1

Views: 1086

Answers (1)

Rong
Rong

Reputation: 21

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)?

Upvotes: 1

Related Questions