diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-31 11:37:50 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-31 13:27:20 +0200 |
commit | 4e87865c0152a98b899272dbe7cf3a459e04b351 (patch) | |
tree | 03d9daa84d031a6e8bfc38b8adddddfec8225426 /src/certtool-args.def | |
parent | 7be12503dbeee179f8089c9bbcc4196906de90ed (diff) | |
download | gnutls-4e87865c0152a98b899272dbe7cf3a459e04b351.tar.gz |
certtool: added example of converting to DER in manpage
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src/certtool-args.def')
-rw-r--r-- | src/certtool-args.def | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/certtool-args.def b/src/certtool-args.def index 1eb123003b..0a980fb2db 100644 --- a/src/certtool-args.def +++ b/src/certtool-args.def @@ -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: |