note 129309 added to function.curl-getinfo

From: Date: Mon, 04 Mar 2024 12:32:26 +0000
Subject: note 129309 added to function.curl-getinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-221222@lists.php.net to get a copy of this message
You can still get the SSL verification result using CURLINFO_SSL_VERIFYRESULT when setting CURLOPT_SSL_VERIFYPEER to FALSE. Full list of result codes: 0: ok 1: unspecified certificate verification error 2: unable to get issuer certificate 3: unable to get certificate CRL 4: unable to decrypt certificate's signature 5: unable to decrypt CRL's signature 6: unable to decode issuer public key 7: certificate signature failure 8: CRL signature failure 9: certificate is not yet valid 10: certificate has expired 11: CRL is not yet valid 12: CRL has expired 13: format error in certificate's notBefore field 14: format error in certificate's notAfter field 15: format error in CRL's lastUpdate field 16: format error in CRL's nextUpdate field 17: out of memory 18: self-signed certificate 19: self-signed certificate in certificate chain 20: unable to get local issuer certificate 21: unable to verify the first certificate 22: certificate chain too long 23: certificate revoked 24: issuer certificate doesn't have a public key 25: path length constraint exceeded 26: unsuitable certificate purpose 27: certificate not trusted 28: certificate rejected 29: subject issuer mismatch 30: authority and subject key identifier mismatch 31: authority and issuer serial number mismatch 32: key usage does not include certificate signing 33: unable to get CRL issuer certificate 34: unhandled critical extension 35: key usage does not include CRL signing 36: unhandled critical CRL extension 37: invalid non-CA certificate (has CA markings) 38: proxy path length constraint exceeded 39: key usage does not include digital signature 40: proxy certificates not allowed, please set the appropriate flag 41: invalid or inconsistent certificate extension 42: invalid or inconsistent certificate policy extension 43: no explicit policy 44: different CRL scope 45: unsupported extension feature 46: RFC 3779 resource not subset of parent's resources 47: permitted subtree violation 48: excluded subtree violation 49: name constraints minimum and maximum not supported 50: application verification failure 51: unsupported name constraint type 52: unsupported or invalid name constraint syntax 53: unsupported or invalid name syntax 54: CRL path validation error 55: path loop 56: Suite B: certificate version invalid 57: Suite B: invalid public key algorithm 58: Suite B: invalid ECC curve 59: Suite B: invalid signature algorithm 60: Suite B: curve not allowed for this LOS 61: Suite B: cannot sign P-384 with P-256 62: hostname mismatch 63: email address mismatch 64: IP address mismatch 65: no matching DANE TLSA records 66: EE certificate key too weak 67: CA certificate key too weak 68: CA signature digest algorithm too weak 69: invalid certificate verification context 70: issuer certificate lookup error 71: Certificate Transparency required, but no valid SCTs found 72: proxy subject name violation 73: OCSP verification needed 74: OCSP verification failed 75: OCSP unknown cert 76: Cannot find certificate signature algorithm 77: subject signature algorithm and issuer public key algorithm mismatch 78: cert info signature and signature algorithm mismatch 79: invalid CA certificate 80: Path length invalid for non-CA cert 81: Path length given without key usage keyCertSign 82: Key usage keyCertSign invalid for non-CA cert 83: Issuer name empty 84: Subject name empty 85: Missing Authority Key Identifier 86: Missing Subject Key Identifier 87: Empty Subject Alternative Name extension 89: Basic Constraints of CA cert not marked critical 88: Subject empty and Subject Alt Name extension not critical 90: Authority Key Identifier marked critical 91: Subject Key Identifier marked critical 92: CA cert does not include key usage extension 93: Using cert extension requires at least X509v3 94: Certificate public key has explicit ECC parameters 95: Raw public key untrusted, no trusted keys configured source: https://github.com/openssl/openssl/blob/master/include/openssl/x509_vfy.h.in https://github.com/openssl/openssl/blob/master/crypto/x509/x509_txt.c ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.131 (proxied: 105.244.2.148) ---- Manual Page -- https://php.net/manual/en/function.curl-getinfo.php Edit -- https://main.php.net/note/edit/129309 Del: integrated -- https://main.php.net/note/delete/129309/integrated Del: useless -- https://main.php.net/note/delete/129309/useless Del: bad code -- https://main.php.net/note/delete/129309/bad+code Del: spam -- https://main.php.net/note/delete/129309/spam Del: non-english -- https://main.php.net/note/delete/129309/non-english Del: in docs -- https://main.php.net/note/delete/129309/in+docs Del: other reasons-- https://main.php.net/note/delete/129309 Reject -- https://main.php.net/note/reject/129309 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221222) next »