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 Templates

script:kickstart

package install gnutls-utils

Anaconda Pre-Install Instructions

package --add=gnutls-utils

A Puppet Snippet

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

OS Build Blueprint

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

An Ansible Snippet

- name: Ensure gnutls-utils is installed
  package:
    name: gnutls-utils
    state: present
  tags:
  - DISA-STIG-RHEL-09-215080

A Shell Script

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