216 lines
5.0 KiB
HTML
216 lines
5.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of CRL</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>CRL</H1>
|
|
Section: OpenSSL (1SSL)<BR>Updated: 2021-03-22<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
openssl-crl, crl - CRL utility
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
<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>]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
The <B>crl</B> command processes <FONT SIZE="-1">CRL</FONT> files in <FONT SIZE="-1">DER</FONT> or <FONT SIZE="-1">PEM</FONT> format.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-help</B><DD>
|
|
|
|
|
|
Print out a usage message.
|
|
<DT id="2"><B>-inform DER|PEM</B><DD>
|
|
|
|
|
|
This specifies the input format. <B></B><FONT SIZE="-1"><B>DER</B></FONT><B></B> format is <FONT SIZE="-1">DER</FONT> encoded <FONT SIZE="-1">CRL</FONT>
|
|
structure. <B></B><FONT SIZE="-1"><B>PEM</B></FONT><B></B> (the default) is a base64 encoded version of
|
|
the <FONT SIZE="-1">DER</FONT> form with header and footer lines.
|
|
<DT id="3"><B>-outform DER|PEM</B><DD>
|
|
|
|
|
|
This specifies the output format, the options have the same meaning and default
|
|
as the <B>-inform</B> option.
|
|
<DT id="4"><B>-in filename</B><DD>
|
|
|
|
|
|
This specifies the input filename to read from or standard input if this
|
|
option is not specified.
|
|
<DT id="5"><B>-out filename</B><DD>
|
|
|
|
|
|
Specifies the output filename to write to or standard output by
|
|
default.
|
|
<DT id="6"><B>-text</B><DD>
|
|
|
|
|
|
Print out the <FONT SIZE="-1">CRL</FONT> in text form.
|
|
<DT id="7"><B>-nameopt option</B><DD>
|
|
|
|
|
|
Option which determines how the subject or issuer names are displayed. See
|
|
the description of <B>-nameopt</B> in <B><A HREF="/cgi-bin/man/man2html?1+x509">x509</A></B>(1).
|
|
<DT id="8"><B>-noout</B><DD>
|
|
|
|
|
|
Don't output the encoded version of the <FONT SIZE="-1">CRL.</FONT>
|
|
<DT id="9"><B>-hash</B><DD>
|
|
|
|
|
|
Output a hash of the issuer name. This can be use to lookup CRLs in
|
|
a directory by issuer name.
|
|
<DT id="10"><B>-hash_old</B><DD>
|
|
|
|
|
|
Outputs the ``hash'' of the <FONT SIZE="-1">CRL</FONT> issuer name using the older algorithm
|
|
as used by OpenSSL before version 1.0.0.
|
|
<DT id="11"><B>-issuer</B><DD>
|
|
|
|
|
|
Output the issuer name.
|
|
<DT id="12"><B>-lastupdate</B><DD>
|
|
|
|
|
|
Output the lastUpdate field.
|
|
<DT id="13"><B>-nextupdate</B><DD>
|
|
|
|
|
|
Output the nextUpdate field.
|
|
<DT id="14"><B>-CAfile file</B><DD>
|
|
|
|
|
|
Verify the signature on a <FONT SIZE="-1">CRL</FONT> by looking up the issuing certificate in
|
|
<B>file</B>.
|
|
<DT id="15"><B>-CApath dir</B><DD>
|
|
|
|
|
|
Verify the signature on a <FONT SIZE="-1">CRL</FONT> 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.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
|
|
|
|
The <FONT SIZE="-1">PEM CRL</FONT> format uses the header and footer lines:
|
|
<P>
|
|
|
|
|
|
|
|
<PRE>
|
|
-----BEGIN X509 CRL-----
|
|
-----END X509 CRL-----
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
|
|
|
|
Convert a <FONT SIZE="-1">CRL</FONT> file from <FONT SIZE="-1">PEM</FONT> to <FONT SIZE="-1">DER:</FONT>
|
|
<P>
|
|
|
|
|
|
|
|
<PRE>
|
|
openssl crl -in crl.pem -outform DER -out crl.der
|
|
|
|
</PRE>
|
|
|
|
|
|
<P>
|
|
|
|
Output the text form of a <FONT SIZE="-1">DER</FONT> encoded certificate:
|
|
<P>
|
|
|
|
|
|
|
|
<PRE>
|
|
openssl crl -in crl.der -inform DER -text -noout
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
|
|
|
|
Ideally it should be possible to create a <FONT SIZE="-1">CRL</FONT> using appropriate options
|
|
and files too.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+crl2pkcs7">crl2pkcs7</A></B>(1), <B><A HREF="/cgi-bin/man/man2html?1+ca">ca</A></B>(1), <B><A HREF="/cgi-bin/man/man2html?1+x509">x509</A></B>(1)
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
|
|
|
|
Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
|
|
<P>
|
|
|
|
Licensed under the OpenSSL license (the ``License''). You may not use
|
|
this file except in compliance with the License. You can obtain a copy
|
|
in the file <FONT SIZE="-1">LICENSE</FONT> in the source distribution or at
|
|
<<A HREF="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</A>>.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="16"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="17"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="18"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="19"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="20"><A HREF="#lbAF">NOTES</A><DD>
|
|
<DT id="21"><A HREF="#lbAG">EXAMPLES</A><DD>
|
|
<DT id="22"><A HREF="#lbAH">BUGS</A><DD>
|
|
<DT id="23"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="24"><A HREF="#lbAJ">COPYRIGHT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:09 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|