]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
certtool: added example of converting to DER in manpage
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 31 Jul 2018 09:37:50 +0000 (11:37 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 31 Jul 2018 11:27:20 +0000 (13:27 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
src/certtool-args.def

index 1eb123003bbb592d6fc454cc5f11cab60a53be1b..0a980fb2dbacd95caa9d8eea6c0d19fb1dee9eda 100644 (file)
@@ -664,7 +664,7 @@ doc-section = {
   ds-type = 'SEE ALSO';
   ds-format = 'texi';
   ds-text   = <<-_EOT_
-    p11tool (1)
+    p11tool (1), psktool (1), srptool (1)
 _EOT_;
 };
 
@@ -729,6 +729,12 @@ To view the certificate information, use:
 $ certtool --certificate-info --infile cert.pem
 @end example
 
+@subheading Changing the certificate format
+To convert the certificate from PEM to DER format, use:
+@example
+$ certtool --certificate-info --infile cert.pem --outder --outfile cert.der
+@end example
+
 @subheading PKCS #12 structure generation
 To generate a PKCS #12 structure using the previous key and certificate,
 use the command: