openssl-crl.pod.in 3.0 KB

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