summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2016-09-20 16:40:05 +0000
committerjmc <>2016-09-20 16:40:05 +0000
commit1da47d82cd8d3a30fc5bfa487101e3160eeeab84 (patch)
tree95b452e6ff65ddde699e51eab28938252cf58e39 /src
parent3b6b56730116702a5227185bcb75e65c5a8b014d (diff)
downloadopenbsd-1da47d82cd8d3a30fc5bfa487101e3160eeeab84.tar.gz
openbsd-1da47d82cd8d3a30fc5bfa487101e3160eeeab84.tar.bz2
openbsd-1da47d82cd8d3a30fc5bfa487101e3160eeeab84.zip
shorten the verify error list;
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/openssl.183
1 files changed, 41 insertions, 42 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index bd6c255f70..d60e36c610 100644
--- a/src/usr.bin/openssl/openssl.1
+++ b/src/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.77 2016/09/19 12:57:45 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.78 2016/09/20 16:40:05 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.\"
@@ -112,7 +112,7 @@
112.\" 112.\"
113.\" OPENSSL 113.\" OPENSSL
114.\" 114.\"
115.Dd $Mdocdate: September 19 2016 $ 115.Dd $Mdocdate: September 20 2016 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -5202,118 +5202,117 @@ includes the name of the error code as defined in the header file
5202Some of the error codes are defined but never returned: these are described as 5202Some of the error codes are defined but never returned: these are described as
5203.Qq unused . 5203.Qq unused .
5204.Bl -tag -width "XXXX" 5204.Bl -tag -width "XXXX"
5205.It "0 X509_V_OK: ok" 5205.It 0 X509_V_OK
5206The operation was successful. 5206The operation was successful.
5207.It 2 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: unable to get issuer certificate 5207.It 2 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT
5208The issuer certificate could not be found: this occurs if the issuer certificate 5208The issuer certificate of an untrusted certificate could not be found.
5209of an untrusted certificate cannot be found. 5209.It 3 X509_V_ERR_UNABLE_TO_GET_CRL
5210.It 3 X509_V_ERR_UNABLE_TO_GET_CRL: unable to get certificate CRL
5211The CRL of a certificate could not be found. 5210The CRL of a certificate could not be found.
5212.It 4 X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE: unable to decrypt certificate's signature 5211.It 4 X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
5213The certificate signature could not be decrypted. 5212The certificate signature could not be decrypted.
5214This means that the actual signature value could not be determined rather 5213This means that the actual signature value could not be determined
5215than it not matching the expected value. 5214rather than it not matching the expected value.
5216This is only meaningful for RSA keys. 5215This is only meaningful for RSA keys.
5217.It 5 X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE: unable to decrypt CRL's signature 5216.It 5 X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
5218The CRL signature could not be decrypted: this means that the actual 5217The CRL signature could not be decrypted.
5219signature value could not be determined rather than it not matching the 5218This means that the actual signature value could not be determined
5220expected value. 5219rather than it not matching the expected value.
5221Unused. 5220Unused.
5222.It 6 X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY: unable to decode issuer public key 5221.It 6 X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
5223The public key in the certificate 5222The public key in the certificate
5224.Cm SubjectPublicKeyInfo 5223.Cm SubjectPublicKeyInfo
5225could not be read. 5224could not be read.
5226.It 7 X509_V_ERR_CERT_SIGNATURE_FAILURE: certificate signature failure 5225.It 7 X509_V_ERR_CERT_SIGNATURE_FAILURE
5227The signature of the certificate is invalid. 5226The signature of the certificate is invalid.
5228.It 8 X509_V_ERR_CRL_SIGNATURE_FAILURE: CRL signature failure 5227.It 8 X509_V_ERR_CRL_SIGNATURE_FAILURE
5229The signature of the certificate is invalid. 5228The signature of the certificate is invalid.
5230.It 9 X509_V_ERR_CERT_NOT_YET_VALID: certificate is not yet valid 5229.It 9 X509_V_ERR_CERT_NOT_YET_VALID
5231The certificate is not yet valid: the 5230The certificate is not yet valid: the
5232.Cm notBefore 5231.Cm notBefore
5233date is after the current time. 5232date is after the current time.
5234.It 10 X509_V_ERR_CERT_HAS_EXPIRED: certificate has expired 5233.It 10 X509_V_ERR_CERT_HAS_EXPIRED
5235The certificate has expired; that is, the 5234The certificate has expired; that is, the
5236.Cm notAfter 5235.Cm notAfter
5237date is before the current time. 5236date is before the current time.
5238.It 11 X509_V_ERR_CRL_NOT_YET_VALID: CRL is not yet valid 5237.It 11 X509_V_ERR_CRL_NOT_YET_VALID
5239The CRL is not yet valid. 5238The CRL is not yet valid.
5240.It 12 X509_V_ERR_CRL_HAS_EXPIRED: CRL has expired 5239.It 12 X509_V_ERR_CRL_HAS_EXPIRED
5241The CRL has expired. 5240The CRL has expired.
5242.It 13 X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD: format error in certificate's notBefore field 5241.It 13 X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
5243The certificate 5242The certificate
5244.Cm notBefore 5243.Cm notBefore
5245field contains an invalid time. 5244field contains an invalid time.
5246.It 14 X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD: format error in certificate's notAfter field 5245.It 14 X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
5247The certificate 5246The certificate
5248.Cm notAfter 5247.Cm notAfter
5249field contains an invalid time. 5248field contains an invalid time.
5250.It 15 X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD: format error in CRL's lastUpdate field 5249.It 15 X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
5251The CRL 5250The CRL
5252.Cm lastUpdate 5251.Cm lastUpdate
5253field contains an invalid time. 5252field contains an invalid time.
5254.It 16 X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD: format error in CRL's nextUpdate field 5253.It 16 X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
5255The CRL 5254The CRL
5256.Cm nextUpdate 5255.Cm nextUpdate
5257field contains an invalid time. 5256field contains an invalid time.
5258.It 17 X509_V_ERR_OUT_OF_MEM: out of memory 5257.It 17 X509_V_ERR_OUT_OF_MEM
5259An error occurred trying to allocate memory. 5258An error occurred trying to allocate memory.
5260This should never happen. 5259This should never happen.
5261.It 18 X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: self signed certificate 5260.It 18 X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
5262The passed certificate is self-signed and the same certificate cannot be 5261The passed certificate is self-signed and the same certificate cannot be
5263found in the list of trusted certificates. 5262found in the list of trusted certificates.
5264.It 19 X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: self signed certificate in certificate chain 5263.It 19 X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN
5265The certificate chain could be built up using the untrusted certificates but 5264The certificate chain could be built up using the untrusted certificates but
5266the root could not be found locally. 5265the root could not be found locally.
5267.It 20 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate 5266.It 20 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
5268The issuer certificate of a locally looked up certificate could not be found. 5267The issuer certificate of a locally looked up certificate could not be found.
5269This normally means the list of trusted certificates is not complete. 5268This normally means the list of trusted certificates is not complete.
5270.It 21 X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE: unable to verify the first certificate 5269.It 21 X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
5271No signatures could be verified because the chain contains only one 5270No signatures could be verified because the chain contains only one
5272certificate and it is not self-signed. 5271certificate and it is not self-signed.
5273.It 22 X509_V_ERR_CERT_CHAIN_TOO_LONG: certificate chain too long 5272.It 22 X509_V_ERR_CERT_CHAIN_TOO_LONG
5274The certificate chain length is greater than the supplied maximum depth. 5273The certificate chain length is greater than the supplied maximum depth.
5275Unused. 5274Unused.
5276.It 23 X509_V_ERR_CERT_REVOKED: certificate revoked 5275.It 23 X509_V_ERR_CERT_REVOKED
5277The certificate has been revoked. 5276The certificate has been revoked.
5278.It 24 X509_V_ERR_INVALID_CA: invalid CA certificate 5277.It 24 X509_V_ERR_INVALID_CA
5279A CA certificate is invalid. 5278A CA certificate is invalid.
5280Either it is not a CA or its extensions are not consistent 5279Either it is not a CA or its extensions are not consistent
5281with the supplied purpose. 5280with the supplied purpose.
5282.It 25 X509_V_ERR_PATH_LENGTH_EXCEEDED: path length constraint exceeded 5281.It 25 X509_V_ERR_PATH_LENGTH_EXCEEDED
5283The 5282The
5284.Cm basicConstraints 5283.Cm basicConstraints
5285pathlength parameter has been exceeded. 5284pathlength parameter has been exceeded.
5286.It 26 X509_V_ERR_INVALID_PURPOSE: unsupported certificate purpose 5285.It 26 X509_V_ERR_INVALID_PURPOSE
5287The supplied certificate cannot be used for the specified purpose. 5286The supplied certificate cannot be used for the specified purpose.
5288.It 27 X509_V_ERR_CERT_UNTRUSTED: certificate not trusted 5287.It 27 X509_V_ERR_CERT_UNTRUSTED
5289The root CA is not marked as trusted for the specified purpose. 5288The root CA is not marked as trusted for the specified purpose.
5290.It 28 X509_V_ERR_CERT_REJECTED: certificate rejected 5289.It 28 X509_V_ERR_CERT_REJECTED
5291The root CA is marked to reject the specified purpose. 5290The root CA is marked to reject the specified purpose.
5292.It 29 X509_V_ERR_SUBJECT_ISSUER_MISMATCH: subject issuer mismatch 5291.It 29 X509_V_ERR_SUBJECT_ISSUER_MISMATCH
5293The current candidate issuer certificate was rejected because its subject name 5292The current candidate issuer certificate was rejected because its subject name
5294did not match the issuer name of the current certificate. 5293did not match the issuer name of the current certificate.
5295Only displayed when the 5294Only displayed when the
5296.Fl issuer_checks 5295.Fl issuer_checks
5297option is set. 5296option is set.
5298.It 30 X509_V_ERR_AKID_SKID_MISMATCH: authority and subject key identifier mismatch 5297.It 30 X509_V_ERR_AKID_SKID_MISMATCH
5299The current candidate issuer certificate was rejected because its subject key 5298The current candidate issuer certificate was rejected because its subject key
5300identifier was present and did not match the authority key identifier current 5299identifier was present and did not match the authority key identifier current
5301certificate. 5300certificate.
5302Only displayed when the 5301Only displayed when the
5303.Fl issuer_checks 5302.Fl issuer_checks
5304option is set. 5303option is set.
5305.It 31 X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH: authority and issuer serial number mismatch 5304.It 31 X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH
5306The current candidate issuer certificate was rejected because its issuer name 5305The current candidate issuer certificate was rejected because its issuer name
5307and serial number were present and did not match the authority key identifier 5306and serial number were present and did not match the authority key identifier
5308of the current certificate. 5307of the current certificate.
5309Only displayed when the 5308Only displayed when the
5310.Fl issuer_checks 5309.Fl issuer_checks
5311option is set. 5310option is set.
5312.It 32 X509_V_ERR_KEYUSAGE_NO_CERTSIGN:key usage does not include certificate signing 5311.It 32 X509_V_ERR_KEYUSAGE_NO_CERTSIGN
5313The current candidate issuer certificate was rejected because its 5312The current candidate issuer certificate was rejected because its
5314.Cm keyUsage 5313.Cm keyUsage
5315extension does not permit certificate signing. 5314extension does not permit certificate signing.
5316.It 50 X509_V_ERR_APPLICATION_VERIFICATION: application verification failure 5315.It 50 X509_V_ERR_APPLICATION_VERIFICATION
5317An application specific error. 5316An application specific error.
5318Unused. 5317Unused.
5319.El 5318.El