crl.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>crl</title>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <link rev="made" href="mailto:root@localhost" />
  8. </head>
  9. <body>
  10. <ul id="index">
  11. <li><a href="#NAME">NAME</a></li>
  12. <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
  13. <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
  14. <li><a href="#OPTIONS">OPTIONS</a></li>
  15. <li><a href="#NOTES">NOTES</a></li>
  16. <li><a href="#EXAMPLES">EXAMPLES</a></li>
  17. <li><a href="#BUGS">BUGS</a></li>
  18. <li><a href="#SEE-ALSO">SEE ALSO</a></li>
  19. <li><a href="#COPYRIGHT">COPYRIGHT</a></li>
  20. </ul>
  21. <h1 id="NAME">NAME</h1>
  22. <p>openssl-crl, crl - CRL utility</p>
  23. <h1 id="SYNOPSIS">SYNOPSIS</h1>
  24. <p><b>openssl</b> <b>crl</b> [<b>-help</b>] [<b>-inform PEM|DER</b>] [<b>-outform PEM|DER</b>] [<b>-text</b>] [<b>-in filename</b>] [<b>-out filename</b>] [<b>-nameopt option</b>] [<b>-noout</b>] [<b>-hash</b>] [<b>-issuer</b>] [<b>-lastupdate</b>] [<b>-nextupdate</b>] [<b>-CAfile file</b>] [<b>-CApath dir</b>]</p>
  25. <h1 id="DESCRIPTION">DESCRIPTION</h1>
  26. <p>The <b>crl</b> command processes CRL files in DER or PEM format.</p>
  27. <h1 id="OPTIONS">OPTIONS</h1>
  28. <dl>
  29. <dt id="help"><b>-help</b></dt>
  30. <dd>
  31. <p>Print out a usage message.</p>
  32. </dd>
  33. <dt id="inform-DER-PEM"><b>-inform DER|PEM</b></dt>
  34. <dd>
  35. <p>This specifies the input format. <b>DER</b> format is DER encoded CRL structure. <b>PEM</b> (the default) is a base64 encoded version of the DER form with header and footer lines.</p>
  36. </dd>
  37. <dt id="outform-DER-PEM"><b>-outform DER|PEM</b></dt>
  38. <dd>
  39. <p>This specifies the output format, the options have the same meaning and default as the <b>-inform</b> option.</p>
  40. </dd>
  41. <dt id="in-filename"><b>-in filename</b></dt>
  42. <dd>
  43. <p>This specifies the input filename to read from or standard input if this option is not specified.</p>
  44. </dd>
  45. <dt id="out-filename"><b>-out filename</b></dt>
  46. <dd>
  47. <p>Specifies the output filename to write to or standard output by default.</p>
  48. </dd>
  49. <dt id="text"><b>-text</b></dt>
  50. <dd>
  51. <p>Print out the CRL in text form.</p>
  52. </dd>
  53. <dt id="nameopt-option"><b>-nameopt option</b></dt>
  54. <dd>
  55. <p>Option which determines how the subject or issuer names are displayed. See the description of <b>-nameopt</b> in <a href="../man1/x509.html">x509(1)</a>.</p>
  56. </dd>
  57. <dt id="noout"><b>-noout</b></dt>
  58. <dd>
  59. <p>Don&#39;t output the encoded version of the CRL.</p>
  60. </dd>
  61. <dt id="hash"><b>-hash</b></dt>
  62. <dd>
  63. <p>Output a hash of the issuer name. This can be use to lookup CRLs in a directory by issuer name.</p>
  64. </dd>
  65. <dt id="hash_old"><b>-hash_old</b></dt>
  66. <dd>
  67. <p>Outputs the &quot;hash&quot; of the CRL issuer name using the older algorithm as used by OpenSSL before version 1.0.0.</p>
  68. </dd>
  69. <dt id="issuer"><b>-issuer</b></dt>
  70. <dd>
  71. <p>Output the issuer name.</p>
  72. </dd>
  73. <dt id="lastupdate"><b>-lastupdate</b></dt>
  74. <dd>
  75. <p>Output the lastUpdate field.</p>
  76. </dd>
  77. <dt id="nextupdate"><b>-nextupdate</b></dt>
  78. <dd>
  79. <p>Output the nextUpdate field.</p>
  80. </dd>
  81. <dt id="CAfile-file"><b>-CAfile file</b></dt>
  82. <dd>
  83. <p>Verify the signature on a CRL by looking up the issuing certificate in <b>file</b>.</p>
  84. </dd>
  85. <dt id="CApath-dir"><b>-CApath dir</b></dt>
  86. <dd>
  87. <p>Verify the signature on a CRL by looking up the issuing certificate in <b>dir</b>. This directory must be a standard certificate directory: that is a hash of each subject name (using <b>x509 -hash</b>) should be linked to each certificate.</p>
  88. </dd>
  89. </dl>
  90. <h1 id="NOTES">NOTES</h1>
  91. <p>The PEM CRL format uses the header and footer lines:</p>
  92. <pre><code> -----BEGIN X509 CRL-----
  93. -----END X509 CRL-----</code></pre>
  94. <h1 id="EXAMPLES">EXAMPLES</h1>
  95. <p>Convert a CRL file from PEM to DER:</p>
  96. <pre><code> openssl crl -in crl.pem -outform DER -out crl.der</code></pre>
  97. <p>Output the text form of a DER encoded certificate:</p>
  98. <pre><code> openssl crl -in crl.der -inform DER -text -noout</code></pre>
  99. <h1 id="BUGS">BUGS</h1>
  100. <p>Ideally it should be possible to create a CRL using appropriate options and files too.</p>
  101. <h1 id="SEE-ALSO">SEE ALSO</h1>
  102. <p><a href="../man1/crl2pkcs7.html">crl2pkcs7(1)</a>, <a href="../man1/ca.html">ca(1)</a>, <a href="../man1/x509.html">x509(1)</a></p>
  103. <h1 id="COPYRIGHT">COPYRIGHT</h1>
  104. <p>Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.</p>
  105. <p>Licensed under the OpenSSL license (the &quot;License&quot;). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p>
  106. </body>
  107. </html>