I have a web application that I am configuring to work with an SSO system. The SSO system is correctly redirecting to my consumer service URL, but I am getting an error on my back end code.
System.Security.Cryptography.CryptographicException: SignatureDescription could not be created for the signature algorithm supplied.
The error is associated with the following line:
status &= signedXml.CheckSignature(certificate.cert, true);
I know it has something to do with the application being unable to verify the validity of the signature, but I am not sure why. I have the X509 certificate typed in correctly.
I am using ASP.NET MVC framework and IIS for my web server.
The code I am using is an implementation of the SAML ASP.NET library found at: https://developers.onelogin.com/saml/c-and-aspnet