logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

openssl-crl - CRL command

Bugs

       Ideally it should be possible to create a CRL using appropriate options and files too.

Description

       This command processes CRL files in DER or PEM format.

Examples

       Convert a CRL file from PEM to DER:

        openssl crl -in crl.pem -outform DER -out crl.der

       Output the text form of a DER encoded certificate:

        openssl crl -in crl.der -text -noout

History

       Since OpenSSL 3.3, the -verify option will exit with 1 on failure.

Name

       openssl-crl - CRL command

Options

-help
           Print out a usage message.

       -informDER|PEM
           The CRL input format; unspecified by default.  See openssl-format-options(1) for details.

       -outformDER|PEM
           The CRL output format; the default is PEM.  See openssl-format-options(1) for details.

       -keyfilename
           The private key to be used to sign the CRL.

       -keyformDER|PEM|P12
           The  format  of  the  private  key  file;  unspecified by default.  See openssl-format-options(1) for
           details.

       -infilename
           This specifies the input filename to read from or standard input if this option is not specified.

       -outfilename
           Specifies the output filename to write to or standard output by default.

       -gendeltafilename
           Output a comparison of the main CRL and the one specified here.

       -badsig
           Corrupt the signature before writing it; this can be useful for testing.

       -dateopt
           Specify the date output format. Values are: rfc_822 and iso_8601.  Defaults to rfc_822.

       -text
           Print out the CRL in text form.

       -verify
           Verify the signature in the CRL. If the verification fails, the program will immediately  exit,  i.e.
           further option processing (e.g. -gendelta) is skipped.

           This option is implicitly enabled if any of -CApath, -CAfile or -CAstore is specified.

       -noout
           Don't output the encoded version of the CRL.

       -fingerprint
           Output the fingerprint of the CRL.

       -crlnumber
           Output the number of the CRL.

       -hash
           Output a hash of the issuer name. This can be use to lookup CRLs in a directory by issuer name.

       -hash_old
           Outputs the "hash" of the CRL issuer name using the older algorithm as used by OpenSSL before version
           1.0.0.

       -issuer
           Output the issuer name.

       -lastupdate
           Output the lastUpdate field.

       -nextupdate
           Output the nextUpdate field.

       -nameoptoption
           This specifies how the subject or issuer names are displayed.  See openssl-namedisplay-options(1) for
           details.

       -CAfilefile, -no-CAfile, -CApathdir, -no-CApath, -CAstoreuri, -no-CAstore
           See "Trusted Certificate Options" in openssl-verification-options(1) for details.

       -providername-provider-pathpath-propquerypropq
           See "Provider Options" in openssl(1), provider(7), and property(7).

See Also

openssl(1), openssl-crl2pkcs7(1), openssl-ca(1), openssl-x509(1), ossl_store-file(7)

Synopsis

opensslcrl [-help] [-informDER|PEM] [-outformDER|PEM] [-keyfilename] [-keyformDER|PEM|P12]
       [-dateopt] [-text] [-infilename] [-outfilename] [-gendeltafilename] [-badsig] [-verify] [-noout]
       [-hash] [-hash_old] [-fingerprint] [-crlnumber] [-issuer] [-lastupdate] [-nextupdate] [-nameoptoption]
       [-CAfilefile] [-no-CAfile] [-CApathdir] [-no-CApath] [-CAstoreuri] [-no-CAstore] [-providername]
       [-provider-pathpath] [-propquerypropq]

See Also