Cannot find token authenticator for token type 'System.IdentityModel.Tokens.X509SecurityToken'
I am using Java Web Service as WCF Service from .NET.
The service has an HTTPS endpoint and requires the message to be signed with a client certificate.
I have configured WCF tracing and using the Service Trace Viewer I can confirm that the request was signed and sent as expected and the correct response is returned from the service. But my console take is not accepted. Instead, the following exception is thrown:
Unable to find token authenticator for 'System.IdentityModel.Tokens.X509SecurityToken' token. Tokens of this type cannot be accepted in accordance with the current security settings.
What am I doing wrong?
a source to share
There seems to be a small but significant change in the way WCF works, and this Java web service implements this type of security (could be specific to this service, or could be a common Java issue).
Received the correct answer, but WCF cannot interpret the token element.
My solution, or rather a workaround, was to use the WCF predecessor WSE (Web Service Enhancements 3.0).
Link to assembly Microsoft.Web.Services3, many head scratches (WTF) and lengthy code work, including MutualCertificate10Assertion
later, I got my answer.
a source to share