To ensure FIPS mode is enabled, install package dracut-fips
, and rebuild initramfs
by running the following commands:
$ sudo yum install dracut-fips
dracut -f
After the dracut
command has been run, add the argument fips=1
to the default
GRUB 2 command line for the Linux operating system in
/etc/default/grub
, in the manner below:
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=VolGroup/LogVol06 rd.lvm.lv=VolGroup/lv_swap rhgb quiet rd.shell=0 fips=1"
Finally, rebuild the grub.cfg
file by using the
grub2-mkconfig -o
command as follows: