GnuTLS-3.2.11

Introduction to GnuTLS

The GnuTLS package contains libraries and userspace tools which provide a secure layer over a reliable transport layer. Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group. Quoting from the TLS protocol specification:

The TLS protocol provides communications privacy over the Internet. The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery.

GnuTLS provides support for TLS 1.1, TLS 1.0 and SSL 3.0 protocols, TLS extensions, including server name and max record size. Additionally, the library supports authentication using the SRP protocol, X.509 certificates and OpenPGP keys, along with support for the TLS Pre-Shared-Keys (PSK) extension, the Inner Application (TLS/IA) extension and X.509 and OpenPGP certificate handling.

This package is known to build and work properly using an LFS-7.5 platform.

Package Information

  • Download (FTP): ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.11.tar.xz

  • Download MD5 sum: 3fce0742dd7e273235a9d376dd895657

  • Download size: 4.9 MB

  • Estimated disk space required: 102 MB (additional 10 MB for the tests and 4 MB for the API documentation rebuild)

  • Estimated build time: 0.9 SBU (additional 1.3 SBU for the tests and less than 0.1 SBU for API documentation rebuild)

GnuTLS Dependencies

Required

Nettle-2.7.1

Recommended

Optional

autogen, GTK-Doc-1.19, Guile-2.0.9, libidn-1.28, p11-kit-0.20.2, Trousers (Trusted Platform Module support), Unbound-1.4.21 (to build the DANE library), and Valgrind (used during the test suite)

[Note]

Note

Note that if you do not install libtasn1-3.4, an older version shipped in the GnuTLS tarball will be used instead.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gnutls

Installation of GnuTLS

Install GnuTLS by running the following commands:

./configure --prefix=/usr    \
            --disable-static \
            --with-default-trust-store-file=/etc/ssl/ca-bundle.crt &&
make

To test the results, issue: make check.

Now, as the root user:

make install

If you did not pass the --enable-gtk-doc parameter to the configure script, you can install the API documentation to the /usr/share/gtk-doc/html/gnutls directory using the following command as the root user:

make -C doc/reference install-data-local

Command Explanations

--with-default-trust-store-file=/etc/ssl/ca-bundle.crt: This switch tells configure where to find the CA Certificates.

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Contents

Installed Programs: certtool, crywrap, danetool, gnutls-cli, gnutls-cli-debug, gnutls-serv, ocsptool, p11tool, psktool and srptool
Installed Libraries: libgnutls.so, libgnutls-openssl.so, libgnutls-xssl.so, libgnutlsxx.so and /usr/lib/guile/2.0/guile-gnutls-v-2.so
Installed Directories: /usr/include/gnutls, /usr/share/gtk-doc/html/gnutls and /usr/share/guile/site/gnutls

Short Descriptions

certtool

is used to generate X.509 certificates, certificate requests, and private keys.

crywrap

is a simple wrapper that waits for TLS/SSL connections, and proxies them to an unencrypted location. Only installed if libidn-1.28 is present.

danetool

is a tool used to generate and check DNS resource records for the DANE protocol.

gnutls-cli

is a simple client program to set up a TLS connection to some other computer.

gnutls-cli-debug

is a simple client program to set up a TLS connection to some other computer and produces very verbose progress results.

gnutls-serv

is a simple server program that listens to incoming TLS connections.

ocsptool

is a program that can parse and print information about OCSP requests/responses, generate requests and verify responses.

p11tool

is a program that allows handling data from PKCS #11 smart cards and security modules.

psktool

is a simple program that generates random keys for use with TLS-PSK.

srptool

is a simple program that emulates the programs in the Stanford SRP (Secure Remote Password) libraries using GnuTLS.

libgnutls.so

contains the core API functions and X.509 certificate API functions.

Last updated on 2014-02-20 06:45:35 -0800