-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Breaking change for SAML v2 users when we switched to JDK 17 #1202
Comments
Added to release notes for 1.32.0 |
…nge for XML signatures in JDK 17. #1202
If using the official FusionAuth Helm chart and version |
@nodesocket can you please file an issue in our main issues repo detailing this problem? I'm not quite sure I follow it, and your issue will get more visibility if it is a separate issue in the main issues repo rather than a comment on a closed issue on our website repo. Alternatively, if you have support, please file a ticket; that'll get attention as well. Thanks for using FusionAuth! |
It looks like this may not be totally solved by re-enabling this in the JDK. The Java XML API also turns this off by default - they really don't want you using this algorithm. I think by default secure validation is enabled, and my guess is that this is causing the XML sig API to fail. |
In JDK 17, some XML signature algorithms were disabled for security purposes.
We upgraded to Java 17 in version 1.32.0.
https://fusionauth.io/docs/v1/tech/release-notes/#version-1-32-0
See:
If you require the use of this XML signature for use with a 3rd party SAML v2 IdP, it is recommended that you request they use a more modern signature algorithm.
If that is not possible, you can modify the JDK configuration in your Docker image, or on each node in your cluster.
To do this, find the
java.security
file inconf/security
in your Java directory. Then to re-enableRSA-SHA1
for example, remove this valuedisallowAlg http://www.w3.org/2000/09/xmldsig#rsa-sha1,\
from the configuration valuejdk.xml.dsig.secureValidationPolicy
.Here is the default configuration in JDK 17.
The text was updated successfully, but these errors were encountered: