在 Identity Manager 擴送代理程式上設定 FIPS 模式之前,應考慮先完成以下準備工作:
在不啟用安全性增強功能的情況下,使用下列指令啟動擴送代理程式:
./startAgent -config ../config/fanoutagent-config.properties
會在 config 資料夾中產生金鑰儲存區檔案。
執行下列指令以停止擴送代理程式:
./stopAgent -config ../config/fanoutagent-config.properties netiq
將以下 jar 檔案放入 /opt/novell/dirxml/fanoutagent/lib/ 目錄:
bc-fips-1.0.2.5.jar
bcpkix-fips-1.0.7.jar
bctls-fips-1.0.19.jar
若要啟用對上述 .jar 檔案的許可權,請執行以下指令:
chown root:bin <jar-file>
chmod 755 <jar-file>
若要設定環境變數,請執行以下指令:
export IS_FIPS_ENABLED=true
export BC_FIPS_VERSION=1.0.2.5
export JAVA_OPTS=" -Dorg.bouncycastle.fips.approved_only=true -Dorg.bouncycastle.rsa.allow_multi_use=true"
export CLASSPATH=/opt/novell/dirxml/fanoutagent/lib/bc-fips-1.0.2.5.jar
完成設定後,可以使用 echo 指令驗證所有環境變數。