導覽至 C:\NetIQ\Common\JRE\conf\security 資料夾。
備份 java.security 檔案。
執行以下步驟來編輯 java.security 檔案:
搜尋字串 List of providers and their preference orders,註解化所有現有提供者,然後新增以下項目:
security.provider.1=BCFIPS security.provider.2=BCJSSE security.provider.3=SunJSSE security.provider.4=SUN security.provider.5=SunJCE
搜尋字串 ssl.KeyManagerFactory.algorithm=SunX509,將其註解化,並新增以下項目:
ssl.KeyManagerFactory.algorithm=PKIX
搜尋字串 jdk.tls.disabledAlgorithms,並將 TLSv1、TLSv1.1 新增至清單中。
例如,jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, DH keySize < 1024, \EC keySize < 224, 3DES_EDE_CBC, anon, NULL
搜尋字串 keystore.type,將其註解化,然後新增以下項目:
keystore.type=bcfks
導覽至 C:\NetIQ\Common\JRE\lib\security 資料夾。
備份 cacerts 檔案。
若要將金鑰儲存區檔案從 jks 格式轉換為 bcfks 格式,請執行以下指令:
keytool -importkeystore -srckeystore C:\NetIQ\IDM\FanoutAgent\config\keystore.jks -srcstorepass changeit -srcstoretype PKCS12 -destkeystore C:\NetIQ\IDM\FanoutAgent\config\keystore.jks -deststorepass changeit -deststoretype BCFKS -providerclass org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider -providerpath $CLASSPATH
導覽至 C:\NetIQ\IDM\FanoutAgent\bin\ 資料夾,並在 startAgent.bat 檔案中進行以下變更:
"%JAVA%" --add-opens=java.base/sun.security.internal.spec=ALL-UNNAMED -Djavax.net.ssl.trustStore=C:\NetIQ\Common\JRE\lib\security\cacerts -Djavax.net.ssl.trustStorePassword=changeit -Dkeystore.type=BCFKS -Dorg.bouncycastle.fips.approved_only=true -Dorg.bouncycastle.rsa.allow_multi_use=true -cp %CLASSPATH% com.netiq.idm.fanoutagent.FanoutAgent !FILENAME! !SERVERONLY!.
啟動擴送代理程式並檢查記錄。