Error while decrypting assertion sent from IDP

后端 未结 1 912
情深已故
情深已故 2021-01-03 05:01

I am trying to decrypt the encrypted assertion sent by IDP within artifact resolve. But I get an error as :

17:01:55.734 [http-8443-2] ERROR o.o.x.e.Decrypte         


        
1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-03 05:44

    This happens due to limitation of cryptography strength in default distribution of Java Runtime Environment.

    1. Download Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files (for Java 7) (for Java 8)

    2. Extract zip archive and find there local_policy.jar and US_export_policy.jar.

    3. Replace your JRE version of these files under $JAVA_HOME/jre{version_number}/lib/security/ with downloaded ones.

    4. Restart JRE process, if any running. Now you can use longer keys.

    0 讨论(0)
提交回复
热议问题