rpms/crypto-utils/devel genkey.xml,1.10,1.11
Elio Maldonado
emaldonado at fedoraproject.org
Sun Oct 26 23:36:28 UTC 2008
Author: emaldonado
Update of /cvs/extras/rpms/crypto-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23841
Modified Files:
genkey.xml
Log Message:
Add examples to the genkey man page
Index: genkey.xml
===================================================================
RCS file: /cvs/extras/rpms/crypto-utils/devel/genkey.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- genkey.xml 19 Oct 2008 05:06:16 -0000 1.10
+++ genkey.xml 26 Oct 2008 23:35:58 -0000 1.11
@@ -92,7 +92,9 @@
<varlistentry>
<term><option>--renew</option></term>
<listitem><simpara>Used with --genreq to indicate a renewal,
- the existing keypair will be used.</simpara></listitem>
+ the existing keypair will be used. Certs and keys must reside
+ in the nss database. Pem file cert renewal is not currently
+ supported.</simpara></listitem>
</varlistentry>
<varlistentry>
@@ -128,6 +130,37 @@
</programlisting>
</para>
+
+ <para>The following example will create a self-signed certificate
+ and private key for the hostname <literal>www.nssexample.com</literal>
+ which will be stored in cert and key in the nss database:
+
+ <programlisting>
+ # genkey --days --nss 120 www.nssexample.com
+ </programlisting>
+
+ </para>
+
+ <para>The following example will generate a certificate signing
+ request for a new mod_nss style cert specified by its nickname,
+ <literal>Server-Cert</literal>:
+
+ <programlisting>
+ # genkey --genreq --nss --days 120 Server-Cert
+ </programlisting>
+
+ </para>
+
+ <para>The following example will generate a certificate signing request
+ for the renewal of an existing mod_nss cert specified by its nickname,
+ <literal>Server-Cert</literal>:
+
+ <programlisting>
+ # genkey --genreq --renew --nss --days 120 Server-Cert
+ </programlisting>
+
+ </para>
+
</refsect1>
<refsect1>
More information about the scm-commits
mailing list