Reading SSL page with CURL (php)?

It sounds like you might be misinterpreting the error. It looks to me like the site you're connecting to is self-signed or some other common problem. Just like the usual browser warning, you're easiest work around is to disable the checks You'll need to set CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to FALSE.

This should disable the two main checks. They may not both be required, but this should at least get you going More info on the PHP site: curl_setopt().

It sounds like you might be misinterpreting the error. It looks to me like the site you're connecting to is self-signed or some other common problem. Just like the usual browser warning, you're easiest work around is to disable the checks.

You'll need to set CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to FALSE. This should disable the two main checks. They may not both be required, but this should at least get you going.

More info on the PHP site: curl_setopt().

Ya,...i read that article before,....but setting both these values to false didn't really make sense to me...i guess I dont' really know what's going on. However it worked perfectly. So thanks :) – Andrew Feb 6 '09 at 18:14.

This is a "problem" with openssl and VeriSign. I had a similar problem and my openssl was missing the intermediate ssl certificate used by VeriSign to sign the server certificate. Https://knowledge.verisign.Com/support/ssl-certificates-support/index?

Page=content&id=AR657 I had to import these intermediate certificates from the VeriSign Homepage or Firefox cert-database-export into my local ca-certificates list and after this step I was able to use wget/curl to use the protected connection without any errors.

You're not SENDing the SSL cert. It appears there's a problem with the SSL cert as it is installed on the host you are contacting. Use option -k or --insecure, to get past the complaint.Ah.

See Ryan Graham's answer.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions