Certificate Information from WCF Service using Transport security mode
Posted
by Langdon
on Stack Overflow
See other posts from Stack Overflow
or by Langdon
Published on 2010-05-27T17:38:51Z
Indexed on
2010/05/27
17:41 UTC
Read the original article
Hit count: 457
Is there any way to pull information about which client certificate was used inside of my web service method when using <security mode="Transport>
? I sifted through OperationContext.Current but couldn't find anything obvious.
My server configuration is as follows:
<basicHttpBinding>
<binding name="SecuredBasicBindingCert">
<security mode="Transport">
<message clientCredentialType="Certificate" />
</security>
</binding>
</basicHttpBinding>
I'm working with a third party pub/sub system who is unfortunately using DataPower for authentication. It seems like if I'm using WCF with this configuration, then I'm unable to glean any information about the caller (since no credentials are actually sent).
I somehow need to be able to figure out whose making calls to my service without changing my configuration or asking them to change their payload.
© Stack Overflow or respective owner