Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ailure - value: The AuthnRequest MUST validate against XSD and MUST have a valid signature stderr: func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=268:obj=unknown:subj=PEM_read_bio_PrivateKey and PEM_read_bio_PUBKEY:error=4:crypto library function failed:openssl error: 151584876: PEM routines: get_name no start line #287

Open
DrFreud94 opened this issue Oct 22, 2024 · 0 comments

Comments

@DrFreud94
Copy link

DrFreud94 commented Oct 22, 2024

Salve. spid-saml-check mi restituisce l'errore in oggetto. La mia request `e la seguente:

<saml2p:AuthnRequest AssertionConsumerServiceIndex="0" AttributeConsumingServiceIndex="0" Destination="https://localhost:8443/samlsso" ForceAuthn="true" ID="_504a754e-97fc-40eb-99a2-4bc2be63e946" IssueInstant="2024-10-22T17:17:13.955Z" Version="2.0" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol">
<saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity" NameQualifier="https://prova/pub-ag-full/spid" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">
https://prova/pub-ag-full/spid
</saml2:Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
ds:SignedInfo
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/>
<ds:Reference URI="#_504a754e-97fc-40eb-99a2-4bc2be63e946">
ds:Transforms
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/>
ds:DigestValue
gc7Pw8iTDeMAB3BPzttvLozHPhvYQCBPBM4HbION6sMirg5hHRzFtXfGC88Q8RpXSmeLEWFU5O7ZyE7VA/tSaw==
</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
ds:SignatureValue
FXEbkvi89LfaI4Mq5E96W7hl6pqfCZlNseejLM8KDUG0nYg+bXslJxgEXl7i6tkwNJteJj3ho7kf6ROY2bswYyh31ZpCYbYXDBfpdY8JoHOxtrPMjA7pcJWnjVbzDwVPHg3bqUkk+uE2Ypr6lbJNJ8zAsJbVyI2u4q4Rnf2Urx7d1CotzqIIfFVMj+bZ8DQDu99a6ttaU9ht17Ycgxg2Bv8SMsBcJDehmIyTG1tKqVqqu0H8BKv1gIDQXp7N8ycbPCKsjEjUkuNpTQbJJsAHHFmzibL/J3Md51euQnk7U238VVPvQri78GELrtIjTFRxem6tASBuQS3QYpYDuzuHUQ==
</ds:SignatureValue>
ds:KeyInfo
ds:KeyValue
ds:RSAKeyValue
ds:Modulus
1km3M6tlyV2vR/WezhNiqGaVE8Jr3FyYUOlV3QGHzGF/bsBJiL1qLV/rlxrZv7nuZzUt9BwKfa2n
vtMl8sMkt7taC2Q9Le1bC9ADHByY1LY9xy4xSba/d0KjFSBoeknehTxjIMGC7+oAEvWzcO90+b3J
ycUJQdpcYmWBDRQzbcfEuHu30jTlUNMx3aWfTBQ5+T20K1RR8Ibwg6IwUnlvk+TzSjy8eLTz0ngE
jfDyTkMGn0JT8ENxqDC2xNpDuiqztoDg56Zzd/DBCqeKMXfNGTCOYrjPFyq1TEdWm3F/CBTHZROm
tsn3n4bqTnyhut1YNi5OuN7nAMV9uW67xwi6Pw==
</ds:Modulus>
ds:Exponent
AQAB
</ds:Exponent>
</ds:RSAKeyValue>
</ds:KeyValue>
ds:X509Data
ds:X509Certificate
MIIDqDCCApCgAwIBAgIHUSTaMiHfqjANBgkqhkiG9w0BAQ0FADCBgjELMAkGA1UEBhMCSVQxDzAN
BgNVBAgTBkl0YWxpYTEUMBIGA1UEBxMLU2FudGEgQ3JvY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2iLApQ+gBoBfSPeOp/mk6SrNcZf10iUGxmRkz7A3LRvL9v
pdXZdkcEig64E2sw/toUlRh/joUZIXL3nECozw==
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
<saml2p:NameIDPolicy Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"/>
<saml2p:RequestedAuthnContext Comparison="minimum">
<saml:AuthnContextClassRef xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
https://www.spid.gov.it/SpidL2
</saml:AuthnContextClassRef>
</saml2p:RequestedAuthnContext>
</saml2p:AuthnRequest>

Ho una firma self-signed. come posso risolvere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant