I would like to test this implementation using self-signed certificates. I'm using the MVC implementation and am running into The remote server returned an error: (500) Internal Server Error.
Debugging shows the error occurs in Saml2SignedXml.ComputeSignature(...) at line 36: ComputeSignature(), which is inherited from Microsoft's SignedMxl and I can't step into it.
Saml2Configuration.SigningCertificate shows HasPrivateKey = true, but an error for the PrivateKey property: Saml2Configuration.SigningCertificate.PrivateKey threw an exception of type System.NotSupportedException.
I see the private key in the same property when using the provide ITFoxtec cert.
I am using a self-signed cert because the tfoxtec.identity.saml2.testidpcore_Certificate.pfx cert causes a Incorrect URI format error in MVC.
Honestly, I don't think this is a code problem so much as a certificate problem, but I'm not sure where to look at this point.