Author: ureyes84 | Posted on: 5/2/2007 7:08:46 PM | Views : 372

 Hey world,
 I have configured my web site to use SSL with a server certificate and also to require client certificates
 When I hit the page I'm able to see the login page, but when after I authenticate my application calls a web service located on the same computer, and this is where I get the exception Access Forbidden.
 
This is the code: 
2 string certPath = @"C:\Documents and Settings\ureyes\Desktop\test.cer"; 3 //This line essentially makes my application accept any server certificate. 4 System.Net.ServicePointManager.CertificatePolicy = new TrustCertificatePolicy();
5 6 SessionManager.Service objSessionManager = new SessionManager.Service(); ...

Go to the complete details ...