]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Explain how to generate DSA key.
authorSimon Josefsson <simon@josefsson.org>
Mon, 20 Apr 2009 14:11:10 +0000 (16:11 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 20 Apr 2009 14:11:10 +0000 (16:11 +0200)
doc/gnutls.texi

index 083e00dda24fafab59b5f4459c0222d46d60aef0..67930b25515c6a8c28acfa2ab14188cae2208d2e 100644 (file)
@@ -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: