6.4. 在 RHEL 8 中启用 FIPS
在安装证书系统前,必须启用 FIPS 模式。
要检查您的系统是否处于 FIPS 模式,请运行以下命令:
# sysctl crypto.fips_enabled如果返回的值为
1,则启用 FIPS 模式。
以下流程演示了如何在 rhcs10.example.com 和 rhds11.example.com 上启用联邦信息处理标准(FIPS)模式。
要切换到 FIPS 模式,请使用
fips-mode-setup --enable命令。# fips-mode-setup --enable Kernel initramdisks are being regenerated. This might take some time. Setting system policy to FIPS Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. FIPS mode will be enabled. Please reboot the system for the setting to take effect.重启您的系统以允许内核切换到 FIPS 模式:
# reboot重启后验证 FIPS 模式的当前状态:
# fips-mode-setup --check FIPS mode is enabled.
注意
如果现有目录服务器在只启用了 FIPS 的非FIPS RHEL 8 系统上运行,则需要重置目录管理器密码,以允许现有目录服务器正确运行。如需更多信息,请参阅 红帽目录服务器 管理指南中的管理目录管理器密码。