Re: CURL: Result on console and in PHP are different



On Oct 31, 1:04 pm, "Rik Wasmus" <luiheidsgoe...@xxxxxxxxxxx> wrote:
Well, I get a clear:
"SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed"

..with curl_error(), as I don't have the certificate.
Ok found the problem, the curl_close($ch) was before the
curl_error($ch)

set verify peer to false would result in either this curl_error() output:
SSL: certificate subject name 'www.verisign.com'does not match target
host name 'verisign.com'
[ssl_verify_result] => 0]

Or no error with the right hostname:
[ssl_verify_result] => 19]

ssl_verify_result does not change in my results

.



Relevant Pages

  • RE: [Full-Disclosure] Openssl proof of concept code? / Neoteris
    ... its own built-in cert and offers it up without solicitation. ... SSL connection with the server with a corrupt cert like that. ... modify a copy of openssl such that it sends a client certificate ... verify error:num=20:unable to get local issuer certificate ...
    (Full-Disclosure)
  • Re: CAPICOM decrypt/verify problem
    ... You can verify the signing certificate by using the SignedData.Signers ... Verify and it will not check the cert just the signature. ... >> Can I retrieve information about the certificate used for decryption ...
    (microsoft.public.platformsdk.security)
  • Re: certificates for signing documents
    ... but won't verify with is own cert because its root CA ... a public key certificate from a client certificate using makecert ...
    (microsoft.public.platformsdk.security)
  • Re: Digital verification of authentic documents ?
    ... > verify the certificate by checking the sources revocation list, ... > sure the cert is from a trusted source. ... that the certificate you see is faked. ... Depends on certificate issuer, if it's ...
    (comp.security.misc)
  • Re: [SLE] Online update configuration error
    ... curl: SSL certificate problem, verify that the CA cert is OK. ...
    (SuSE)