Skip to main content


 

Symptoms


When opening K2 Designer, the following error gets displayed:
WIF10201: No valid key mapping found for securityToken: 'System.IdentityModel.Tokens.X509SecurityToken'
 

Diagnoses


This issue could appears if the Thumbprint is not correct. Generally appears if you do a direct copy-past of the Thumbprint: a special character is added at the start.
 

Resolution

Execute the following query on the K2 database and if a record is raised, please follow the instruction: Please fix this issue by deleting the first characters of the Thumbprint (Press several time the DELETE key) and retype it from the Claim issuer form

SELECT 'Warning: The Claim issuer ' + Name] + '('+ 'Description] + ') have the field "Thumbprint" containing an invisible special character ' + char(13) + char(10) +
'It''s a known issue if you copy past the Thumbprint from the certificate page.' + char(13) + char(10) +
'Please fix this issue by deleting the first characters of the Thumbprint (Press several time the DELETE key) and retype it from the Claim issuer form'
FROM OIdentity].yClaimIssuer]
WHERE CONVERT(varchar(1),1Thumbprint],2) LIKE '%?%'

Other Resolution (similar):
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 Key . Manually typing it worked

Other Resolution (similar):
- Get the new SSL thumbprint. You should open your Certificate Store by going to Start -> Run -> certmgr.msc
- The certificate usually resides under the following category:
-- Trusted Root Certification Authority -> Certificates
- Open the specific certificate by double-clicking or right-click and selecting Open
- Go to the Details tab
- Scroll down until you find the "Thumbprint" Field and select it
- Copy the thumbprint at the bottom and paste into Notepad
- You'll notice it has spaces and consists of lower case letters.
- Remove the spaces and change all the letters to uppercase (VERY IMPORTANT - won't work with lower case)
- Finally, copy this finished string since you're going to need it later




 
Be the first to reply!

Reply