Introduction to GnuTLS
The GnuTLS package contains a
library 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-6.5
platform.
Package Information
GnuTLS Dependencies
Required
Libgcrypt-1.4.5
Optional
GTK-Doc-1.14, Guile-1.8.7,
libtasn1-2.5,
libcfg+, and Valgrind (used during the test suite)
Note that if you do not install libtasn1-2.5,
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 &&
make
To test the results, issue: make
check.
Now, as the root user:
make install &&
install -v -m755 -d /usr/share/doc/gnutls-2.8.6 &&
install -v -m644 doc/*.{html,png,eps,pdf,ps} doc/cyclo/*.html \
/usr/share/doc/gnutls-2.8.6 &&
cp -v -R doc/credentials \
/usr/share/doc/gnutls-2.8.6
If you did not pass the --enable-gtk-doc parameter to the configure script, install the API
documentation using the following command as the root user:
make -C doc/reference install-data-local