SSL handshake exception: “Algorithm constraints check failed: MD5withRSA”

前端 未结 2 684
悲哀的现实
悲哀的现实 2020-12-17 15:31

I tried to install Oracle Entitlements Server Client. When I call

config.cmd -smConfigId Sample-SM -prpFileName C:\\oracle\\product\\11.1.2\\as_1\\oessm\\SM         


        
2条回答
  •  悲哀的现实
    2020-12-17 16:19

    The problem is caused by Oracle disabling hash algorithms which are no longer considered to be secure. Take a look at

    JRE_HOME/lib/security/java.security
    

    It contains the following properties:

    jdk.certpath.disabledAlgorithms
    jdk.tls.disabledAlgorithms
    

    You can adjust them appropriately. For example, remove MD5 from the former and MD5withRSA from the latter.

    Hint for docker images:

    there is additional config file /etc/crypto-policies/back-ends/java.config in some docker images like keycloak in my case which overrides values in java.security

提交回复
热议问题