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
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: Actually, for all the ones I use regularly it's basically as I type.
gollark: It's decently fast for me in *some* languages, at least.
gollark: > say that to my 50 second load time for atom, 5-10 for vscodeI said "fast enough", and I have an SSD so VSCode loads in about a second. Which isn't great, but okay.
gollark: And in some cases I don't know it at all and can just try typing something, look at the convenient documentation snippet, and maybe see if it errors (in more strongly typed languages).
gollark: I can work faster if I don't have to memorize the exact name of every useful function and can just approximate it and have the editor fill it in.
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.