SAML-Toolkits/python3-saml

'sp.crt' is not a valid value of the atomic type 'xs:base64Binary'.

cgb37 opened this issue · 1 comments

cgb37 commented

Errors validating the metadata:
2022-11-30T16:39:29.946475215Z Element '{http://www.w3.org/2000/09/xmldsig#}X509Certificate': 'sp.crt' is not a valid value of the atomic type 'xs:base64Binary'.

When we try to get the metadata to be used with our Idp by going to our domain/metadata we get the error above. We used https://www.samltool.com/self_signed_certs.php

cgb37 commented

this was caused by using sp.crt and sp.key as the values of "x509cert": "", "privateKey": "".
Once we removed the values and placed those files in the certs directory the metadata url worked