Skip to content

Ensure gnutls-utils is installed

An XCCDF Rule

Description

The gnutls-utils package can be installed with the following command:

$ sudo dnf install gnutls-utils

Rationale

GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. This package contains command line TLS client and server and certificate manipulation tools.

ID
xccdf_org.ssgproject.content_rule_package_gnutls-utils_installed
Severity
Medium
References
Updated



Remediation - Anaconda Pre-Install Instructions


package --add=gnutls-utils

Remediation - OS Build Blueprint


[[packages]]
name = "gnutls-utils"
version = "*"

Remediation - Ansible

- name: Ensure gnutls-utils is installed
  package:
    name: gnutls-utils
    state: present
  tags:
  - CCE-83494-5

Remediation - Puppet

include install_gnutls-utils

class install_gnutls-utils {
  package { 'gnutls-utils':
    ensure => 'installed',
  }

Remediation - Shell Script


if ! rpm -q --quiet "gnutls-utils" ; then
    dnf install -y "gnutls-utils"
fi