diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-04-20 16:11:10 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-04-20 16:11:10 +0200 |
commit | 7ffeba022859b2b9d909bc3fb8a89057a309ae06 (patch) | |
tree | 11a236e5735156e07d60af7004e3479ecff88e1d | |
parent | 6f8559fa0cf9c66a1411d056ef159001de66a3cd (diff) | |
download | gnutls-7ffeba022859b2b9d909bc3fb8a89057a309ae06.tar.gz |
Explain how to generate DSA key.
-rw-r--r-- | doc/gnutls.texi | 8 |
1 files changed, 7 insertions, 1 deletions
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: |