Skip to content

Ensure nss-tools is installed

An XCCDF Rule

Description

The nss-tools package can be installed with the following command:

$ apt-get install nss-tools

Rationale

Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Install the nss-tools package to install command-line tools to manipulate the NSS certificate and key database.

ID
xccdf_org.ssgproject.content_rule_package_nss-tools_installed
Severity
Medium
References
Updated



Remediation - OS Build Blueprint


[[packages]]
name = "nss-tools"
version = "*"

Remediation - Ansible

- name: Ensure nss-tools is installed
  package:
    name: nss-tools
    state: present
  tags:
  - enable_strategy

Remediation - Puppet

include install_nss-tools

class install_nss-tools {
  package { 'nss-tools':
    ensure => 'installed',
  }

Remediation - Shell Script


DEBIAN_FRONTEND=noninteractive apt-get install -y "nss-tools"