#
# DO NOT EDIT THIS FILE (invoke-p11tool.texi)
#
-# It has been AutoGen-ed November 8, 2012 at 11:40:19 PM by AutoGen 5.16
+# It has been AutoGen-ed November 28, 2012 at 11:46:10 PM by AutoGen 5.16
# From the definitions ../src/p11tool-args.def
# and the template file agtexi-cmd.tpl
@end ignore
Note that some tokens require the same label to be used for the certificate
and its corresponding private key.
+To generate an RSA private key inside the token use:
+@example
+$ p11tool --login --generate-rsa --bits 1024 --label "MyNewKey" \
+ --outfile MyNewKey.pub "pkcs11:TOKEN-URL"
+@end example
+The bits parameter in the above example is explicitly set because some
+tokens only support a limited number of bits. The output file is the
+corresponding public key. This key can be used to general a certificate
+request with certtool.
+@example
+certtool --generate-request --load-privkey "pkcs11:KEY-URL" \
+ --load-pubkey MyNewKey.pub --outfile request.pem
+@end example
+
+
*
* DO NOT EDIT THIS FILE (p11tool-args.c)
*
- * It has been AutoGen-ed November 8, 2012 at 11:35:48 PM by AutoGen 5.16
+ * It has been AutoGen-ed November 28, 2012 at 11:45:35 PM by AutoGen 5.16
* From the definitions p11tool-args.def
* and the template file options
*
@end example
Note that some tokens require the same label to be used for the certificate
and its corresponding private key.
+
+To generate an RSA private key inside the token use:
+@example
+$ p11tool --login --generate-rsa --bits 1024 --label "MyNewKey" \
+ --outfile MyNewKey.pub "pkcs11:TOKEN-URL"
+@end example
+The bits parameter in the above example is explicitly set because some
+tokens only support a limited number of bits. The output file is the
+corresponding public key. This key can be used to general a certificate
+request with certtool.
+@example
+certtool --generate-request --load-privkey "pkcs11:KEY-URL" \
+ --load-pubkey MyNewKey.pub --outfile request.pem
+@end example
+
_EOT_;
};
*
* DO NOT EDIT THIS FILE (p11tool-args.h)
*
- * It has been AutoGen-ed November 8, 2012 at 11:35:48 PM by AutoGen 5.16
+ * It has been AutoGen-ed November 28, 2012 at 11:45:35 PM by AutoGen 5.16
* From the definitions p11tool-args.def
* and the template file options
*