Enabling FIPS Mode
When Junos OS is installed on NFX device and the device is powered on, it is ready to be
configured. Initially, the administrator log in as the user
root with no password. When the administrator log
in as root, the SSH connection is enabled by default.
As Crypto Officer, the administrator must establish a root password conforming to the FIPS password requirements in Understanding Password Specifications and Guidelines for Junos OS in FIPS Mode. When the administrator enable FIPS mode in Junos OS on the device, the administrator cannot configure passwords unless they meet this standard.
Local passwords are encrypted with the secure hash algorithm SHA256 or SHA512. Password recovery is not possible in Junos OS in FIPS mode. Junos OS in FIPS mode cannot boot into single-user mode without the correct root password.
To enable FIPS mode in Junos OS on the device:
- Zeroize the device to delete all CSPs before entering FIPS mode. Refer to Understanding Zeroization to Clear System Data for FIPS Mode section for details.
- After the device comes up in ’Amnesiac mode’,
login using username
rootand password""(blank).FreeBSD/amd64 (Amnesiac) (ttyu0) login: root --- JUNOS 23.4R1.10 Kernel 64-bit JNPR-12.1-20231122.ee0e992_builroot@:~ # cli root>
- Configure root authentication.
root> edit Entering configuration mode [edit] root# set system root-authentication plain-text-password New password: Retype new password: [edit] root# commit commit complete
- Load configuration onto device and commit new configuration.
- The fips-mode and jpfe-fips are optional packages needed
for enabling FIPS. These packages are part of Junos OS software. To
enable these packages, use below commands:
root@hostname> request vmhost software add optional://fips-mode.tgz Verified fips-mode signed by PackageDevelopmentEc_2019 method ECDSA256+SHA256
root@hostname> request vmhost software add optional://jpfe-fips.tgz Verified jpfe-fips signed by PackageDevelopmentEc_2019 method ECDSA256+SHA256
-
Configure fips by setting the below
commands and then
commit.[edit system]
root@host# set fips level 1root@host# set fips chassis level 1Device might display the Encrypted-password must be re-configured to use FIPS compliant hash warning to delete older CSP in loaded configuration.
- After deleting and reconfiguring CSPs, commit will go
through and device needs reboot to enter FIPS mode.
[edit] root@hostname# commit 2024-02-16 04:58:47.846710 PST: Running FIPS Self-tests 2024-02-16 04:58:49.829488 PST: FIPS Self-tests Passed 'system' warning: reboot is required to transition to FIPS level 1 commit completeReboot the device by issuing
request vmhost rebootroot@hostname# request vmhost reboot
- After rebooting the device, FIPS self-tests will run and
device enters FIPS mode.
root@hostname:fips>
- After the reboot has completed, log in and use the
show versioncommand to verify.root@hostname:fips> show version Model: nfx350_s3 Junos: 23.4R1.10 JUNOS OS Kernel 64-bit [20231122.ee0e992_builder_stable_12_234] JUNOS OS libs [20231122.ee0e992_builder_stable_12_234] JUNOS OS runtime [20231122.ee0e992_builder_stable_12_234] JUNOS OS time zone information [20231122.ee0e992_builder_stable_12_234] JUNOS network stack and utilities [20231221.205905_builder_junos_234_r1] JUNOS libs [20231221.205905_builder_junos_234_r1] JUNOS OS libs compat32 [20231122.ee0e992_builder_stable_12_234] JUNOS OS 32-bit compatibility [20231122.ee0e992_builder_stable_12_234] JUNOS libs compat32 [20231221.205905_builder_junos_234_r1] JUNOS runtime [20231221.205905_builder_junos_234_r1] JUNOS Packet Forwarding Engine Simulation Package [20231221.205905_builder_junos_234_r1] JUNOS sflow mx [20231221.205905_builder_junos_234_r1] JUNOS py extensions [20231221.205905_builder_junos_234_r1] JUNOS py base [20231221.205905_builder_junos_234_r1] JUNOS OS vmguest [20231122.ee0e992_builder_stable_12_234] JUNOS OS package [20231117.015524_builder_stable_12] JUNOS OS network modules [20231122.ee0e992_builder_stable_12_234] JUNOS OS crypto [20231122.ee0e992_builder_stable_12_234] JUNOS OS boot-ve files [20231122.ee0e992_builder_stable_12_234] JUNOS na telemetry [23.4R1.10] JUNOS Wireless WAN Module [20231221.205905_builder_junos_234_r1] JUNOS vmguest [20231221.205905_builder_junos_234_r1] JUNOS vmguest (NFX-3) [20231221.205905_builder_junos_234_r1] JUNOS Unified Threat Management Module [20231221.205905_builder_junos_234_r1] JUNOS userfw [20231221.205905_builder_junos_234_r1] JUNOS syshmd [20231221.205905_builder_junos_234_r1] JUNOS switch CLI for NFX-3 [20231221.205905_builder_junos_234_r1] JUNOS security base [20231221.205905_builder_junos_234_r1] JUNOS mx libs compat32 [20231221.205905_builder_junos_234_r1] JUNOS mx runtime [20231221.205905_builder_junos_234_r1] JUNOS RPD Telemetry Application [23.4R1.10] JUNOS Routing mpls-oam-basic [20231221.205905_builder_junos_234_r1] JUNOS Routing mpls-oam-advanced [20231221.205905_builder_junos_234_r1] JUNOS Routing lsys [20231221.205905_builder_junos_234_r1] JUNOS Routing controller-internal [20231221.205905_builder_junos_234_r1] JUNOS Routing controller-external [20231221.205905_builder_junos_234_r1] JUNOS Routing 32-bit Compatible Version [20231221.205905_builder_junos_234_r1] JUNOS Routing aggregated [20231221.205905_builder_junos_234_r1] Redis [20231221.205905_builder_junos_234_r1] JUNOS probe utility [20231221.205905_builder_junos_234_r1] JUNOS pppoe [20231221.205905_builder_junos_234_r1] JUNOS common platform support [20231221.205905_builder_junos_234_r1] JUNOS nfx platform support [20231221.205905_builder_junos_234_r1] JUNOS Openconfig [23.4R1.10] JUNOS mtx network modules [20231221.205905_builder_junos_234_r1] JUNOS named module [20231221.205905_builder_junos_234_r1] JUNOS modules [20231221.205905_builder_junos_234_r1] JUNOS mx modules [20231221.205905_builder_junos_234_r1] JUNOS mx libs [20231221.205905_builder_junos_234_r1] JUNOS L2 RSI Scripts [20231221.205905_builder_junos_234_r1] JUNOS SQL Sync Daemon [20231221.205905_builder_junos_234_r1] JUNOS jdm ure cmd [20231221.205905_builder_junos_234_r1] JUNOS jdm cmd [20231221.205905_builder_junos_234_r1] JUNOS Security Intelligence [20231221.205905_builder_junos_234_r1] JUNOS nfx Data Plane Crypto Support [20231221.205905_builder_junos_234_r1] JUNOS ike [20231221.205905_builder_junos_234_r1] JUNOS idpd64 [20231221.205905_builder_junos_234_r1] JUNOS idpd [20231221.205905_builder_junos_234_r1] JUNOS Web management gatekeeper module [20231221.205905_builder_junos_234_r1] JUNOS High Availability [20231221.205905_builder_junos_234_r1] JUNOS Firewall Authentication[20231221.205905_builder_junos_234_r1] JUNOS SRX Dynamic Filtering [20231221.205905_builder_junos_234_r1] JUNOS daemons [20231221.205905_builder_junos_234_r1] JUNOS mx daemons [20231221.205905_builder_junos_234_r1] JUNOS Broadband Edge User Plane Apps [23.4R1.10] JUNOS appidd-srx application-identification daemon [20231221.205905_builder_junos_234_r1] JUNOS Advanced Anti-Malware [20231221.205905_builder_junos_234_r1] JUNOS Services URL Filter package [20231221.205905_builder_junos_234_r1] JUNOS Services TLB Service PIC package [20231221.205905_builder_junos_234_r1] JUNOS Services Telemetry [20231221.205905_builder_junos_234_r1] JUNOS Services TCP-LOG [20231221.205905_builder_junos_234_r1] JUNOS Services SSL [20231221.205905_builder_junos_234_r1] JUNOS Services SOFTWIRE [20231221.205905_builder_junos_234_r1] JUNOS Services Stateful Firewall [20231221.205905_builder_junos_234_r1] JUNOS Services RTCOM [20231221.205905_builder_junos_234_r1] JUNOS Services RPM [20231221.205905_builder_junos_234_r1] JUNOS Services PCEF package [20231221.205905_builder_junos_234_r1] JUNOS Services NAT [20231221.205905_builder_junos_234_r1] JUNOS Services Mobile Subscriber Service Container package [20231221.205905_builder_junos_234_r1] JUNOS Services MobileNext Software package [20231221.205905_builder_junos_234_r1] JUNOS Services Logging Report Framework package [20231221.205905_builder_junos_234_r1] JUNOS Services LL-PDF Container package [20231221.205905_builder_junos_234_r1] JUNOS Services Jflow Container package [20231221.205905_builder_junos_234_r1] JUNOS Services Deep Packet Inspection package [20231221.205905_builder_junos_234_r1] JUNOS Services IPSec [20231221.205905_builder_junos_234_r1] JUNOS Services IDS [20231221.205905_builder_junos_234_r1] JUNOS IDP Services [20231221.205905_builder_junos_234_r1] JUNOS Services HTTP Content Management package [20231221.205905_builder_junos_234_r1] JUNOS Services DNS Filter package (i386) [20231221.205905_builder_junos_234_r1] JUNOS Services Crypto [20231221.205905_builder_junos_234_r1] JUNOS Services Captive Portal and Content Delivery Container package [20231221.205905_builder_junos_234_r1] JUNOS Services COS [20231221.205905_builder_junos_234_r1] JUNOS AppId Services [20231221.205905_builder_junos_234_r1] JUNOS Services Application Level Gateways [20231221.205905_builder_junos_234_r1] JUNOS Services AACL Container package [20231221.205905_builder_junos_234_r1] JUNOS SDN Software Suite [20231221.205905_builder_junos_234_r1] JUNOS Extension Toolkit [20231221.205905_builder_junos_234_r1] JUNOS Phone-home [20231221.205905_builder_junos_234_r1] JUNOS FXPC Package [20231221.205905_builder_junos_234_r1] JUNOS Packet Forwarding Engine FIPS Support [23.4R1.10] JUNOS Juniper Malware Removal Tool (JMRT) [1.0.0+20231221.205905_builder_junos_234_r1] JUNOS Juniper Malware Removal Tool (JMRT) Test [1.0.0+20231221.205905_builder_junos_234_r1] JUNOS J-Insight [20231221.205905_builder_junos_234_r1] JUNOS Online Documentation [20231221.205905_builder_junos_234_r1] JUNOS jail runtime [20231122.ee0e992_builder_stable_12_234] JUNOS fips optest [23.4I-20240123.0.0058] JUNOS FIPS mode utilities [20231221.205905_builder_junos_234_r1] JUNOS dsa [20231221.205905_builder_junos_234_r1]