summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2003-10-26 15:16:13 +0000
committerjmc <>2003-10-26 15:16:13 +0000
commit772a69078b41d69500b8d4a738658ba3c2a5f9be (patch)
tree8f37f998c739784bec01faf83696e1f65d0dc272 /src
parent5ea1c776c381a4b2ec02b6dddf2a1294d1f42810 (diff)
downloadopenbsd-772a69078b41d69500b8d4a738658ba3c2a5f9be.tar.gz
openbsd-772a69078b41d69500b8d4a738658ba3c2a5f9be.tar.bz2
openbsd-772a69078b41d69500b8d4a738658ba3c2a5f9be.zip
update for crl and crl2pkcs7;
Diffstat (limited to 'src')
-rw-r--r--src/usr.sbin/openssl/openssl.1130
1 files changed, 66 insertions, 64 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index b137d90f09..76ea6f9661 100644
--- a/src/usr.sbin/openssl/openssl.1
+++ b/src/usr.sbin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.19 2003/10/24 09:41:52 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.20 2003/10/26 15:16:13 jmc Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -1668,7 +1668,7 @@ encryption:
1668.Dl $ openssl ciphers -v 'RSA:!COMPLEMENTOFALL' 1668.Dl $ openssl ciphers -v 'RSA:!COMPLEMENTOFALL'
1669.Sh CIPHERS HISTORY 1669.Sh CIPHERS HISTORY
1670The 1670The
1671.Ar COMPLENTOFALL 1671.Ar COMPLEMENTOFALL
1672and 1672and
1673.Ar COMPLEMENTOFDEFAULT 1673.Ar COMPLEMENTOFDEFAULT
1674selection options were added in version 0.9.7. 1674selection options were added in version 0.9.7.
@@ -1678,19 +1678,19 @@ selection options were added in version 0.9.7.
1678.Sh CRL 1678.Sh CRL
1679.Nm openssl crl 1679.Nm openssl crl
1680.Bk -words 1680.Bk -words
1681.Op Fl inform Ar DER | PEM
1682.Op Fl outform Ar DER | PEM
1683.Op Fl text
1684.Op Fl in Ar filename
1685.Op Fl out Ar filename
1686.Op Fl noout
1687.Op Fl hash
1688.Op Fl fingerprint 1681.Op Fl fingerprint
1682.Op Fl hash
1689.Op Fl issuer 1683.Op Fl issuer
1690.Op Fl lastupdate 1684.Op Fl lastupdate
1691.Op Fl nextupdate 1685.Op Fl nextupdate
1686.Op Fl noout
1687.Op Fl text
1692.Op Cm CAfile Ar file 1688.Op Cm CAfile Ar file
1693.Op Cm CApath Ar dir 1689.Op Cm CApath Ar dir
1690.Op Fl in Ar filename
1691.Op Fl inform Ar DER | PEM
1692.Op Fl out Ar filename
1693.Op Fl outform Ar DER | PEM
1694.Ek 1694.Ek
1695.Pp 1695.Pp
1696The 1696The
@@ -1703,6 +1703,24 @@ format.
1703.Pp 1703.Pp
1704The options are as follows: 1704The options are as follows:
1705.Bl -tag -width "XXXX" 1705.Bl -tag -width "XXXX"
1706.It Fl CAfile Ar file
1707Verify the signature on a CRL by looking up the issuing certificate in
1708.Ar file .
1709.It Fl CApath Ar dir
1710Verify the signature on a CRL by looking up the issuing certificate in
1711.Ar dir .
1712This directory must be a standard certificate directory,
1713i.e. a hash of each subject name (using
1714.Cm x509 Fl hash )
1715should be linked to each certificate.
1716.It Fl fingerprint
1717Print the CRL fingerprint.
1718.It Fl hash
1719Output a hash of the issuer name.
1720This can be used to look up CRLs in a directory by issuer name.
1721.It Fl in Ar filename
1722This specifies the input filename to read from, or standard input if this
1723option is not specified.
1706.It Fl inform Ar DER | PEM 1724.It Fl inform Ar DER | PEM
1707This specifies the input format. 1725This specifies the input format.
1708.Ar DER 1726.Ar DER
@@ -1710,25 +1728,6 @@ format is a DER encoded CRL structure.
1710.Ar PEM 1728.Ar PEM
1711.Pq the default 1729.Pq the default
1712is a base64 encoded version of the DER form with header and footer lines. 1730is a base64 encoded version of the DER form with header and footer lines.
1713.It Fl outform Ar DER | PEM
1714This specifies the output format; the options have the same meaning as the
1715.Fl inform
1716option.
1717.It Fl in Ar filename
1718This specifies the input filename to read from or standard input if this
1719option is not specified.
1720.It Fl out Ar filename
1721Specifies the output filename to write to, or standard output by
1722default.
1723.It Fl text
1724Print out the CRL in text form.
1725.It Fl noout
1726Don't output the encoded version of the CRL.
1727.It Fl hash
1728Output a hash of the issuer name.
1729This can be used to look up CRLs in a directory by issuer name.
1730.It Fl fingerprint
1731Print the CRL fingerprint.
1732.It Fl issuer 1731.It Fl issuer
1733Output the issuer name. 1732Output the issuer name.
1734.It Fl lastupdate 1733.It Fl lastupdate
@@ -1739,16 +1738,17 @@ field.
1739Output the 1738Output the
1740.Ar nextUpdate 1739.Ar nextUpdate
1741field. 1740field.
1742.It Fl CAfile Ar file 1741.It Fl noout
1743Verify the signature on a CRL by looking up the issuing certificate in 1742Don't output the encoded version of the CRL.
1744.Ar file . 1743.It Fl out Ar filename
1745.It Fl CApath Ar dir 1744Specifies the output filename to write to, or standard output by
1746Verify the signature on a CRL by looking up the issuing certificate in 1745default.
1747.Ar dir . 1746.It Fl outform Ar DER | PEM
1748This directory must be a standard certificate directory, 1747This specifies the output format; the options have the same meaning as the
1749i.e. a hash of each subject name (using 1748.Fl inform
1750.Cm x509 Fl hash ) 1749option.
1751should be linked to each certificate. 1750.It Fl text
1751Print out the CRL in text form.
1752.El 1752.El
1753.Sh CRL NOTES 1753.Sh CRL NOTES
1754The PEM CRL format uses the header and footer lines: 1754The PEM CRL format uses the header and footer lines:
@@ -1768,7 +1768,7 @@ Output the text form of a
1768.Ar DER 1768.Ar DER
1769encoded certificate: 1769encoded certificate:
1770.Pp 1770.Pp
1771.Dl $ openssl crl -in crl.der -text -noout 1771.Dl $ openssl crl -in crl.der -inform DER -text -noout
1772.Sh CRL BUGS 1772.Sh CRL BUGS
1773Ideally, it should be possible to create a CRL using appropriate options 1773Ideally, it should be possible to create a CRL using appropriate options
1774and files too. 1774and files too.
@@ -1777,12 +1777,14 @@ and files too.
1777.\" 1777.\"
1778.Sh CRL2PKCS7 1778.Sh CRL2PKCS7
1779.Nm openssl crl2pkcs7 1779.Nm openssl crl2pkcs7
1780.Op Fl inform Ar DER | PEM 1780.Bk -words
1781.Op Fl outform Ar DER | PEM 1781.Op Fl nocrl
1782.Op Fl certfile Ar filename
1782.Op Fl in Ar filename 1783.Op Fl in Ar filename
1784.Op Fl inform Ar DER | PEM
1783.Op Fl out Ar filename 1785.Op Fl out Ar filename
1784.Op Fl certfile Ar filename 1786.Op Fl outform Ar DER | PEM
1785.Op Fl nocrl 1787.Ek
1786.Pp 1788.Pp
1787The 1789The
1788.Nm crl2pkcs7 1790.Nm crl2pkcs7
@@ -1793,6 +1795,19 @@ structure.
1793.Pp 1795.Pp
1794The options are as follows: 1796The options are as follows:
1795.Bl -tag -width "XXXX" 1797.Bl -tag -width "XXXX"
1798.It Fl certfile Ar filename
1799Specifies a
1800.Ar filename
1801containing one or more certificates in
1802.Ar PEM
1803format.
1804All certificates in the file will be added to the PKCS#7 structure.
1805This option can be used more than once to read certificates from multiple
1806files.
1807.It Fl in Ar filename
1808This specifies the input
1809.Ar filename
1810to read a CRL from or standard input if this option is not specified.
1796.It Fl inform Ar DER | PEM 1811.It Fl inform Ar DER | PEM
1797This specifies the CRL input format. 1812This specifies the CRL input format.
1798.Ar DER 1813.Ar DER
@@ -1800,6 +1815,14 @@ format is a DER encoded CRL structure.
1800.Ar PEM 1815.Ar PEM
1801.Pq the default 1816.Pq the default
1802is a base64 encoded version of the DER form with header and footer lines. 1817is a base64 encoded version of the DER form with header and footer lines.
1818.It Fl nocrl
1819Normally, a CRL is included in the output file.
1820With this option, no CRL is
1821included in the output file and a CRL is not read from the input file.
1822.It Fl out Ar filename
1823Specifies the output
1824.Ar filename
1825to write the PKCS#7 structure to or standard output by default.
1803.It Fl outform Ar DER | PEM 1826.It Fl outform Ar DER | PEM
1804This specifies the PKCS#7 structure output format. 1827This specifies the PKCS#7 structure output format.
1805.Ar DER 1828.Ar DER
@@ -1807,27 +1830,6 @@ format is a DER encoded PKCS#7 structure.
1807.Ar PEM 1830.Ar PEM
1808.Pq the default 1831.Pq the default
1809is a base64 encoded version of the DER form with header and footer lines. 1832is a base64 encoded version of the DER form with header and footer lines.
1810.It Fl in Ar filename
1811This specifies the input
1812.Ar filename
1813to read a CRL from or standard input if this option is not specified.
1814.It Fl out Ar filename
1815Specifies the output
1816.Ar filename
1817to write the PKCS#7 structure to or standard output by default.
1818.It Fl certfile Ar filename
1819Specifies a
1820.Ar filename
1821containing one or more certificates in
1822.Ar PEM
1823format.
1824All certificates in the file will be added to the PKCS#7 structure.
1825This option can be used more than once to read certificates from multiple
1826files.
1827.It Fl nocrl
1828Normally, a CRL is included in the output file.
1829With this option, no CRL is
1830included in the output file and a CRL is not read from the input file.
1831.El 1833.El
1832.Sh CRL2PKCS7 EXAMPLES 1834.Sh CRL2PKCS7 EXAMPLES
1833Create a PKCS#7 structure from a certificate and CRL: 1835Create a PKCS#7 structure from a certificate and CRL: