crl.pod 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. =pod
  2. =head1 NAME
  3. openssl-crl,
  4. crl - CRL utility
  5. =head1 SYNOPSIS
  6. B<openssl> B<crl>
  7. [B<-help>]
  8. [B<-inform PEM|DER>]
  9. [B<-outform PEM|DER>]
  10. [B<-text>]
  11. [B<-in filename>]
  12. [B<-out filename>]
  13. [B<-nameopt option>]
  14. [B<-noout>]
  15. [B<-hash>]
  16. [B<-issuer>]
  17. [B<-lastupdate>]
  18. [B<-nextupdate>]
  19. [B<-CAfile file>]
  20. [B<-CApath dir>]
  21. =head1 DESCRIPTION
  22. The B<crl> command processes CRL files in DER or PEM format.
  23. =head1 OPTIONS
  24. =over 4
  25. =item B<-help>
  26. Print out a usage message.
  27. =item B<-inform DER|PEM>
  28. This specifies the input format. B<DER> format is DER encoded CRL
  29. structure. B<PEM> (the default) is a base64 encoded version of
  30. the DER form with header and footer lines.
  31. =item B<-outform DER|PEM>
  32. This specifies the output format, the options have the same meaning and default
  33. as the B<-inform> option.
  34. =item B<-in filename>
  35. This specifies the input filename to read from or standard input if this
  36. option is not specified.
  37. =item B<-out filename>
  38. Specifies the output filename to write to or standard output by
  39. default.
  40. =item B<-text>
  41. Print out the CRL in text form.
  42. =item B<-nameopt option>
  43. Option which determines how the subject or issuer names are displayed. See
  44. the description of B<-nameopt> in L<x509(1)>.
  45. =item B<-noout>
  46. Don't output the encoded version of the CRL.
  47. =item B<-hash>
  48. Output a hash of the issuer name. This can be use to lookup CRLs in
  49. a directory by issuer name.
  50. =item B<-hash_old>
  51. Outputs the "hash" of the CRL issuer name using the older algorithm
  52. as used by OpenSSL before version 1.0.0.
  53. =item B<-issuer>
  54. Output the issuer name.
  55. =item B<-lastupdate>
  56. Output the lastUpdate field.
  57. =item B<-nextupdate>
  58. Output the nextUpdate field.
  59. =item B<-CAfile file>
  60. Verify the signature on a CRL by looking up the issuing certificate in
  61. B<file>.
  62. =item B<-CApath dir>
  63. Verify the signature on a CRL by looking up the issuing certificate in
  64. B<dir>. This directory must be a standard certificate directory: that
  65. is a hash of each subject name (using B<x509 -hash>) should be linked
  66. to each certificate.
  67. =back
  68. =head1 NOTES
  69. The PEM CRL format uses the header and footer lines:
  70. -----BEGIN X509 CRL-----
  71. -----END X509 CRL-----
  72. =head1 EXAMPLES
  73. Convert a CRL file from PEM to DER:
  74. openssl crl -in crl.pem -outform DER -out crl.der
  75. Output the text form of a DER encoded certificate:
  76. openssl crl -in crl.der -inform DER -text -noout
  77. =head1 BUGS
  78. Ideally it should be possible to create a CRL using appropriate options
  79. and files too.
  80. =head1 SEE ALSO
  81. L<crl2pkcs7(1)>, L<ca(1)>, L<x509(1)>
  82. =head1 COPYRIGHT
  83. Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
  84. Licensed under the OpenSSL license (the "License"). You may not use
  85. this file except in compliance with the License. You can obtain a copy
  86. in the file LICENSE in the source distribution or at
  87. L<https://www.openssl.org/source/license.html>.
  88. =cut