You are here: Re: CURL: Result on console and in PHP are different « PHP Programming Language « IT news, forums, messages
Re: CURL: Result on console and in PHP are different

Posted by Paul van Brouwershaven on 10/31/07 16:14

On Oct 31, 1:04 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.com> 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация