Search code examples
saml-2.0x509certificate2itfoxtec-identity-saml2

CER Certificate using only public key


When using a CER with no private key I'm getting the following:

No RSA Private Key present in Signing Certificate or missing private key read credentials.

Is this the intended behaviour? AFAIK there is no private key for this kind certificate so either I'm missing something or thats not the way to do it.


Solution

  • The ITfoxtec Identity SAML 2.0 component throw the error if it expects a certificate with a private key like a PFX. A certificate containing only a public key can be used for verifying a signature, but not for signing.

    Maybe the problem occurs when the RP (relying party) try to sign the Authn og Logout request.