|
Posted by Rik Wasmus on 10/31/07 12:04
On Wed, 31 Oct 2007 12:31:29 +0100, Paul van Brouwershaven =
<p.vanbrouwershaven@gmail.com> wrote:
> As saw the space problem just before you post, but this still doesn't
> solve the problem that there is no value in the ssl_verify_result
> result.
>
> If the SSL Certificate is wrong or right it always returns 0!
>
> I can check the result of the curl_exec to see if the certificate is
> valid, but this doen't tell me what the problem is.
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 veri=
fy =
failed"
...with curl_error(), as I don't have the certificate.
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] =3D> 0]
Or no error with the right hostname:
[ssl_verify_result] =3D> 19]
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|