So, I have the following system: there is a client application that requests the service as follows:
blar.ServiceSecurity wsSecurity = new blar.ServiceSecurity();
wsSecurity.Url = this.tURL + "Security.asmx";
CookieContainer cc = new CookieContainer();
wsSecurity.CookieContainer = cc;
wsSecurity.ClientCertificates.Add(X509Certificate.CreateFromCertFile(certPath));
blar.LoginResult lr = wsSecurity.Login(login, password);
then the web service in this.tURL + "Security.asmx" Loginshould get this ClientCertificate (certPath) from:
Context.Request.ClientCertificate.Certificate;
and do something with it.
There are two problems:
if IIS is configured Require client certificates, I get a 403.7 error when I call the login function.
if the IIS configuration says Accept client certificates, I get a CryptographicException "m_safeCertContext - invalid descriptor";
but , these problems only occur if the client is running Windows 7 x64, even when it is running on Windows XP or Windows Server 2003, it is just fine.
ca , ,
: " ?"