SecureAuth IdP Version Affected: All
When attempting to use transparent SSO, it does not work. Warning log shows
Exception: Error occurred during a cryptographic operation. - at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.HomogenizeErrors(Func`2 func, Byte input)
at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
at MFA.Utilities.Encryption.GetTokenData(String cookiename, String mysecret, Int32 returntype)
Cause: The two realms are using different targetframework in the httpruntime section of the Web.config meaning that machinekeys, although seemingly identical do not match.
- Open the Admin Console
- On the Realm in question, click on the System Info tab
- Click "Click to edit Web Config file"
- Search for targetFramework and make a note of the version
- Check the other realm and make a note of the version
- Match up the targetFramework versions on all participating realms. We typically recommend 4.5 as per the screenshot unless you have a specific reason to use something else.
- Save the changes.
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.