configuring SSL certificate for wcfbasichttp adapter

I am trying to consume SSL enabled web service but getting below error.

"

System.InvalidOperationException: Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'CurrentUser', FindType 'FindByThumbprint', FindValue .
   at System.ServiceModel.Security.SecurityUtils.GetCertificateFromStoreCore(StoreName storeName, StoreLocation storeLocation, X509FindType findType, Object findValue, EndpointAddress target, Boolean throwIfMultipleOrNoMatch)
   at System.ServiceModel.Security.SecurityUtils.GetCertificateFromStore(StoreName storeName, StoreLocation storeLocation, X509FindType findType, Object findValue, EndpointAddress target)
   at System.ServiceModel.Security.X509CertificateInitiatorClientCredential.SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, Object findValue)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.ApplyClientCertificate(ClientCredentials clientCredentials)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.CreateChannelFacto"

I dont know why it is reflecting currentuser as i selected LocalMachine, My and FindByThumbprint. My certifcates are stored at Local computer level

We have three certificate and i have installed it at personal, root and intermediate level. And at adapter level i am placing thumbprint of personal certificate, which is nothing  but in hierarchy

Root certificate

      Inermediate certificate

            Personal Certificate

Can any one let me know what could be the issue .. I dont have much idea about certifiacte.


  • Edited by Phill Ed Wednesday, May 20, 2015 10:04 AM
May 20th, 2015 9:59am

System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme 'Anonymous'.

HI Phill,

In your configuration file, use <transport clientCredentialType="None" />, and check whether it can fix it.

With regards,

Angie

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 5:21am

403 is the equivalent of Access Denied.

Either your credentials are wrong or you're using the incorrect authentication scheme.

May 28th, 2015 7:31am

403 is the equivalent of Access Denied.

Either your credentials are wrong or you're using the incorrect authentication scheme.

  • Marked as answer by Phill Ed 6 hours 34 minutes ago
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 11:29am

403 is the equivalent of Access Denied.

Either your credentials are wrong or you're using the incorrect authentication scheme.

  • Marked as answer by Phill Ed Sunday, May 31, 2015 12:30 AM
May 28th, 2015 11:29am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics