GnuTLS

According to Wikipedia:

GnuTLS (the GNU Transport Layer Security Library) is a free software implementation of the TLS, SSL and DTLS protocols. It offers an application programming interface (API) for applications to enable secure communication over the network transport layer, as well as interfaces to access X.509, PKCS #12 and other structures.

Installation

Install the gnutls package.

For integration with the Apache HTTP Server install mod_gnutls.

Usage

See certtool(1) for the command used in the following sections and the info document for the API documentation.

Generate a private key

$ certtool --generate-privkey --outfile private_key

Generate a certificate signing request

$ certtool --generate-request --load-privkey private_key --outfile file

Generate a self-signed certificate

$ certtool --generate-self-signed --load-privkey private_key --outfile file
gollark: It would help a bit. But having supplies for weeks to months of being at home is hard.
gollark: That seems to not always be available, because those services are getting used lots.
gollark: > If you dont want to risk getting infected stay home. If you are okay with the risk then go outThat's not really practical because, as I said, you need food and stuff.
gollark: > youll get into contact with the same number of people at the store regardless of whos out doing something elseBut a different number of them will have COVID-19 and might be able to infect you.
gollark: I guess if you could hibernate somehow...

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.