Auth0 Home Blog Docs

SAMLP Certificate setup




I’ve received a certificate for a samlp setup. The certificate is in pfx format.
From my understanding, auth0 needs only the public keys, so I did the following to convert to pem format:
openssl pkcs12 -in cert.pfx -nokeys -out publiccert.pem -nodes

Having done this, I attempt to upload the certificate but I get the following error:
“The signing certificate is not valid. Please provide a .pem or .cer certificate base64 encoded public key.”

I looked at the certificate that was generated and I noticed it contains root certificates too and 2 other certificates.
I removed the root certificates, this did not help.
Has the IDP given me the wrong certificate or what am I doing wrong?