openssl-crl.pod.in 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. =pod
  2. {- OpenSSL::safe::output_do_not_edit_headers(); -}
  3. =head1 NAME
  4. openssl-crl - CRL command
  5. =head1 SYNOPSIS
  6. B<openssl> B<crl>
  7. [B<-help>]
  8. [B<-inform> B<DER>|B<PEM>]
  9. [B<-outform> B<DER>|B<PEM>]
  10. [B<-key> I<filename>]
  11. [B<-keyform> B<DER>|B<PEM>|B<P12>]
  12. [B<-dateopt>]
  13. [B<-text>]
  14. [B<-in> I<filename>]
  15. [B<-out> I<filename>]
  16. [B<-gendelta> I<filename>]
  17. [B<-badsig>]
  18. [B<-verify>]
  19. [B<-noout>]
  20. [B<-hash>]
  21. [B<-hash_old>]
  22. [B<-fingerprint>]
  23. [B<-crlnumber>]
  24. [B<-issuer>]
  25. [B<-lastupdate>]
  26. [B<-nextupdate>]
  27. {- $OpenSSL::safe::opt_name_synopsis -}
  28. {- $OpenSSL::safe::opt_trust_synopsis -}
  29. {- $OpenSSL::safe::opt_provider_synopsis -}
  30. =head1 DESCRIPTION
  31. This command processes CRL files in DER or PEM format.
  32. =head1 OPTIONS
  33. =over 4
  34. =item B<-help>
  35. Print out a usage message.
  36. =item B<-inform> B<DER>|B<PEM>
  37. The CRL input format; unspecified by default.
  38. See L<openssl-format-options(1)> for details.
  39. =item B<-outform> B<DER>|B<PEM>
  40. The CRL output format; the default is B<PEM>.
  41. See L<openssl-format-options(1)> for details.
  42. =item B<-key> I<filename>
  43. The private key to be used to sign the CRL.
  44. =item B<-keyform> B<DER>|B<PEM>|B<P12>
  45. The format of the private key file; unspecified by default.
  46. See L<openssl-format-options(1)> for details.
  47. =item B<-in> I<filename>
  48. This specifies the input filename to read from or standard input if this
  49. option is not specified.
  50. =item B<-out> I<filename>
  51. Specifies the output filename to write to or standard output by
  52. default.
  53. =item B<-gendelta> I<filename>
  54. Output a comparison of the main CRL and the one specified here.
  55. =item B<-badsig>
  56. Corrupt the signature before writing it; this can be useful
  57. for testing.
  58. =item B<-dateopt>
  59. Specify the date output format. Values are: rfc_822 and iso_8601.
  60. Defaults to rfc_822.
  61. =item B<-text>
  62. Print out the CRL in text form.
  63. =item B<-verify>
  64. Verify the signature in the CRL.
  65. =item B<-noout>
  66. Don't output the encoded version of the CRL.
  67. =item B<-fingerprint>
  68. Output the fingerprint of the CRL.
  69. =item B<-crlnumber>
  70. Output the number of the CRL.
  71. =item B<-hash>
  72. Output a hash of the issuer name. This can be use to lookup CRLs in
  73. a directory by issuer name.
  74. =item B<-hash_old>
  75. Outputs the "hash" of the CRL issuer name using the older algorithm
  76. as used by OpenSSL before version 1.0.0.
  77. =item B<-issuer>
  78. Output the issuer name.
  79. =item B<-lastupdate>
  80. Output the lastUpdate field.
  81. =item B<-nextupdate>
  82. Output the nextUpdate field.
  83. {- $OpenSSL::safe::opt_name_item -}
  84. {- $OpenSSL::safe::opt_trust_item -}
  85. {- $OpenSSL::safe::opt_provider_item -}
  86. =back
  87. =head1 EXAMPLES
  88. Convert a CRL file from PEM to DER:
  89. openssl crl -in crl.pem -outform DER -out crl.der
  90. Output the text form of a DER encoded certificate:
  91. openssl crl -in crl.der -text -noout
  92. =head1 BUGS
  93. Ideally it should be possible to create a CRL using appropriate options
  94. and files too.
  95. =head1 SEE ALSO
  96. L<openssl(1)>,
  97. L<openssl-crl2pkcs7(1)>,
  98. L<openssl-ca(1)>,
  99. L<openssl-x509(1)>,
  100. L<ossl_store-file(7)>
  101. =head1 COPYRIGHT
  102. Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
  103. Licensed under the Apache License 2.0 (the "License"). You may not use
  104. this file except in compliance with the License. You can obtain a copy
  105. in the file LICENSE in the source distribution or at
  106. L<https://www.openssl.org/source/license.html>.
  107. =cut