Skip to main content


 

Symptoms

 


WIF10201: No valid key mapping found for securityToken: 'System.IdentityModel.Tokens.X509SecurityToken'
 

 

Diagnoses

 


We are getting a security Token issue in the UAT environment. We have checked the Issuers, Claims and Realms, and all appear correct. The certificate thumbprint was incorrect, however even after correcting and restarting all servers participating in the farm the error is persisting. The system is working as expected when browsing to a URL with windows auth.
 

 

Resolution

Get-AdfsCertificate -CertificateType Token-Signing

 

 

 

$a = Get-AdfsCertificate -CertificateType Token-Signing

 

$a.Thumbprint

 

 

 

Run that to get the Thumbrpint , then manually type it into the Indentity.ClaimsIssue table (for the relevant Issuer) ? make sure of the case . Issue was caused by Copy/Paste of the

 

Issue was caused by Copy/Paste of the Key .

 

Manually typing it worked

 

 



 
Be the first to reply!

Reply