openssl-crl.pod.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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<-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. {- $OpenSSL::safe::opt_provider_synopsis -}
  29. =for openssl ifdef hash_old
  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.
  38. This option has no effect and is retained for backward compatibility only.
  39. =item B<-outform> B<DER>|B<PEM>
  40. The CRL output format; the default is B<PEM>.
  41. See L<openssl(1)/Format Options> 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.
  46. This option has no effect and is retained for backward compatibility only.
  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<-text>
  59. Print out the CRL in text form.
  60. =item B<-verify>
  61. Verify the signature in the CRL.
  62. =item B<-noout>
  63. Don't output the encoded version of the CRL.
  64. =item B<-fingerprint>
  65. Output the fingerprint of the CRL.
  66. =item B<-crlnumber>
  67. Output the number of the CRL.
  68. =item B<-hash>
  69. Output a hash of the issuer name. This can be use to lookup CRLs in
  70. a directory by issuer name.
  71. =item B<-hash_old>
  72. Outputs the "hash" of the CRL issuer name using the older algorithm
  73. as used by OpenSSL before version 1.0.0.
  74. =item B<-issuer>
  75. Output the issuer name.
  76. =item B<-lastupdate>
  77. Output the lastUpdate field.
  78. =item B<-nextupdate>
  79. Output the nextUpdate field.
  80. {- $OpenSSL::safe::opt_name_item -}
  81. {- $OpenSSL::safe::opt_trust_item -}
  82. {- $OpenSSL::safe::opt_provider_item -}
  83. =back
  84. =head1 EXAMPLES
  85. Convert a CRL file from PEM to DER:
  86. openssl crl -in crl.pem -outform DER -out crl.der
  87. Output the text form of a DER encoded certificate:
  88. openssl crl -in crl.der -text -noout
  89. =head1 BUGS
  90. Ideally it should be possible to create a CRL using appropriate options
  91. and files too.
  92. =head1 SEE ALSO
  93. L<openssl(1)>,
  94. L<openssl-crl2pkcs7(1)>,
  95. L<openssl-ca(1)>,
  96. L<openssl-x509(1)>,
  97. L<ossl_store-file(7)>
  98. =head1 HISTORY
  99. The B<-inform> and B<-keyform> options have become obsolete in OpenSSL 3.0.0
  100. and have no effect.
  101. =head1 COPYRIGHT
  102. Copyright 2000-2020 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