From: Simon Josefsson Date: Mon, 20 Apr 2009 14:11:10 +0000 (+0200) Subject: Explain how to generate DSA key. X-Git-Tag: gnutls_2_7_7~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ffeba022859b2b9d909bc3fb8a89057a309ae06;p=thirdparty%2Fgnutls.git Explain how to generate DSA key. --- diff --git a/doc/gnutls.texi b/doc/gnutls.texi index 083e00dda2..67930b2551 100644 --- a/doc/gnutls.texi +++ b/doc/gnutls.texi @@ -2802,12 +2802,18 @@ Note that a self-signed certificate usually belongs to a certificate authority, that signs other certificates. @item -To create a private key, run: +To create a private key (RSA by default), run: @example $ certtool --generate-privkey --outfile key.pem @end example +To create a DSA private key, run: + +@example +$ certtool --generate-privkey --outfile key-dsa.pem +@end example + @item To generate a certificate using the private key, use the command: