Update to java.security File When Enabling or Disabling FIPS Mode
When enabling or disabling FIPS mode, the fips script updates the following file: java-home/jre/lib/security/java.security
The following line in this file is changed:
ssl.KeyManagerFactory.algorithm=SunX509
or
ssl.KeyManagerFactory.algorithm=IbmX509
gets changed to
ssl.KeyManagerFactory.algorithm=PKIX
Prior to enabling or disabling FIPS, the script checks if it has access to this file. If it does, the script continues. If it does not have access to this file, the script terminates with the following message:
You do not have access to C:\Program Files\Java\jdk1.8.0_172\jre\lib\security
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.