[keycloak-user] IDP SAML Processing Error

Yildirim, Suleyman suleyman.yildirim at accenture.com
Thu Aug 16 13:19:27 EDT 2018


Hi,

I have a "Uncaught server error: org.keycloak.broker.provider.IdentityBrokerException: Could not process response from SAML identity provider" when get response from MS ADFS server. The route cause of the error is Caused by: java.io.IOException: Short read of DER length. So I suspect that Validating X509 Certificates input box doesn't work as expected in Keycloak: "Certificates must be in PEM format and multiple certificates can be entered by comma (,) ". I have to use Public key and the certificates of the realm separated by comma but I get 500 - Internal Server Error from MS ADFS server and the  error in Keycloak (Attached file: IDP_error.txt). If I only use realm certificate, I get invalid requester error. Any idea of how I can proceed?

Details

When I use dummy IDP of Keycloak server, I use https://myapplicationurl/auth/realms/springboot-quickstart/protocol/saml as SSO url, "email" as "NameID Policy Format" (Attached file: dummyIDPSettings.png). As for real ADFS integration, I setup everything according to that blog http://blog.keycloak.org/2017/03/how-to-setup-ms-ad-fs-30-as-brokered.html and use the client's SSO url (Attached file: ADFSIDPSettings.png). I think I did everything right. Keycloak endpoints, SSL keystore and truststore files are at the right locations and places.

Regards,
Suleyman


________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
______________________________________________________________________________________

www.accenture.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummyIDPSettings.PNG
Type: image/png
Size: 72605 bytes
Desc: dummyIDPSettings.PNG
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20180816/6537de1f/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ADFSIDPSettings.PNG
Type: image/png
Size: 83476 bytes
Desc: ADFSIDPSettings.PNG
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20180816/6537de1f/attachment-0003.png 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: IDP_error.txt
Url: http://lists.jboss.org/pipermail/keycloak-user/attachments/20180816/6537de1f/attachment-0001.txt 


More information about the keycloak-user mailing list