FIPS-MODE-SETUP(8) | FIPS-MODE-SETUP(8) |
NAME¶
fips-mode-setup - Check or enable the system FIPS mode.
SYNOPSIS¶
fips-mode-setup [COMMAND]
DESCRIPTION¶
fips-mode-setup(8) is used to check and control the system FIPS mode.
When enabling the system FIPS mode, the command completes the installation of FIPS modules if needed by calling fips-finish-install and changes the system crypto policy to FIPS (unless the policy has already been set to FIPS plus subpolicies on top, in which case the currently active subpolicies is retained).
Then the command modifies the boot loader configuration to add fips=1 and boot=<boot-device> options to the kernel command line.
When disabling the system FIPS mode the system crypto policy is switched to DEFAULT and the kernel command line option fips=0 is set.
On transactional systems, enabling the system in FIPS mode with the fips-mode-setup tool is not implemented. To enable the FIPS mode in these systems requires the following steps:
1.- Install the FIPS pattern on a running system:
# transactional-update pkg install -t pattern microos-fips
2.- Reboot your system.
3.- Add the kernel command line parameter fips=1 to the boot loader
configuration. To do so, edit the file /etc/default/grub and add
fips=1 to the GRUB_CMDLINE_LINUX_DEFAULT variable.
4.- After logging in to the system, run:
# transactional-update grub.cfg
5.- Reboot your system.
OPTIONS¶
The following options are available in fips-mode-setup tool.
FILES¶
/proc/sys/crypto/fips_enabled
SEE ALSO¶
AUTHOR¶
Written by Tomáš Mráz.
09/22/2023 | fips-mode-setup |