Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Crypto Officer and FIPS User Identification and Access

date_range 23-Sep-21

Crypto Officer enables FIPS mode on your device and performs all configuration tasks for Junos OS in FIPS mode and issue all Junos OS in FIPS mode statements and commands. Crypto Officer and FIPS user configurations must follow Junos OS in FIPS mode guidelines.

Configuring Crypto Officer Access

Junos OS in FIPS mode offers a finer granularity of user permissions than those mandated by FIPS 140-2.

For FIPS 140-2 compliance, any FIPS user with the secret, security, maintenance, and control permission bits set is a Crypto Officer. In most cases the super-user class suffices for the Crypto Officer.

To configure login access for a Crypto Officer:

  1. Log in to the device with the root password if you have not already done so, and enter configuration mode:
    content_copy zoom_out_map
    root@hostname> edit
    Entering configuration mode
    [edit]
    root@hostname# 
  2. Name the user crypto-officer and assign the Crypto Officer a user ID (for example, 6400, which must be a unique number associated with the login account in the range of 100 through 64000) and a class (for example, super-user). When you assign the class, you assign the permissions—for example, secret, security, maintenance, and control.

    For a list of permissions, see Understanding Junos OS Access Privilege Levels.

    content_copy zoom_out_map
    [edit]
    root@hostname# set system login user username uid value class class-name
    

    For example:

    content_copy zoom_out_map
    [edit]
    root@hostname# set system login user crypto-officer uid 6400 class super-user
    
  3. Following the guidelines in Understanding Password Specifications and Guidelines for Junos OS in FIPS Mode, assign the Crypto Officer a plain-text password for login authentication. Set the password by typing a password after the prompts New password and Retype new password.
    content_copy zoom_out_map
    [edit]
    root@hostname#  set system login user username class class-name authentication (plain-test-password | encrypted-password)
    

    For example:

    content_copy zoom_out_map
    [edit]
    root@hostname#  set system login user crypto-officer class super-user authentication plain-text-password
    
  4. Optionally, display the configuration:
    content_copy zoom_out_map
    [edit]
    root@hostname#edit system
    [edit system]
    root@hostname#show
    login {
        user crypto-officer {
            uid 6400;
            authentication {
                encrypted-password "<cipher-text>"; ## SECRET-DATA
            }
            class super-user; 
        }
    }
    
  5. If you are finished configuring the device, commit the configuration and exit:
    content_copy zoom_out_map
    [edit]
    root@hostname# commit
    commit complete
    root@hostname# exit
    

Configuring FIPS User Login Access

A fips-user is defined as any FIPS user that does not have the secret, security, maintenance, and control permission bits set.

As the Crypto Officer you set up FIPS users. FIPS users cannot be granted permissions normally reserved for the Crypto Officer—for example, permission to zeroize the system.

To configure login access for a FIPS user:

  1. Log in to the device with your Crypto Officer password if you have not already done so, and enter configuration mode:
    content_copy zoom_out_map
    crypto-officer@hostname:fips> edit
    Entering configuration mode
    [edit]
    crypto-officer@hostname:fips#
  2. Give the user, a username, and assign the user a user ID (for example, 6401, which must be a unique number in the range of 1 through 64000) and a class. When you assign the class, you assign the permissions—for example, clear, network, resetview, and view-configuration.
    content_copy zoom_out_map
    [edit]
    crypto-officer@hostname:fips# set system login user username uid value class class-name
    

    For example:

    content_copy zoom_out_map
    [edit]
    crypto-officer@hostname:fips# set system login user fips-user1 uid 6401 class read-only 
    
  3. Following the guidelines in Understanding Password Specifications and Guidelines for Junos OS in FIPS Mode, assign the FIPS user a plain-text password for login authentication. Set the password by typing a password after the prompts New password and Retype new password.
    content_copy zoom_out_map
    [edit]
    crypto-officer@hostname:fips# set system login user username class class-name authentication (plain-text-password | encrypted-password)
    

    For example:

    content_copy zoom_out_map
    [edit]
    crypto-officer@hostname:fips# set system login user fips-user1 class read-only authentication plain-text-password
    
  4. Optionally, display the configuration:
    content_copy zoom_out_map
    [edit]
    crypto-officer@hostname:fips# edit system
    [edit system]
    crypto-officer@hostname:fips# show
    login {
        user fips-user1 {
            uid 6401;
            authentication {
                encrypted-password "<cipher-text>"; ## SECRET-DATA
            }
            class read-only;
        }
    }
    
  5. If you are finished configuring the device, commit the configuration and exit:
    content_copy zoom_out_map
    [edit]
    crypto-officer@hostname:fips# commit
    crypto-officer@hostname:fips#  exit
    
footer-navigation