Problem trying to get file over https with PHP and wget

sde

Verified User
Joined
Sep 11, 2004
Messages
213
Location
Temecula, CA
I have an issue where I can not use PHP to get a remote wsdl file over https with soap. I then tried to use wget, and I get the following error:

ERROR: Certificate verification error for cms.rolandcorp.com.au: unable to get local issuer certificate
To connect to cms.rolandcorp.com.au insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.

Yes, it works if I add --no-check-certificate

This is the remote file: https://cms.rolandcorp.com.au/API/Client/Settings.svc?wsdl

The main goal here is to get PHP to be able to read it, I don't care if it checks the cert or not. PHP SOAP does have a 'verify_peer' parameter that I can turn off, but it still doesn't work.

My questions are:

1. Would wget work on one server, vs another server, just be a matter of a different version of wget?

2. As far as PHP and one server working, vs another server (same versions of PHP), what is the dependency that would cause the different behavior? mod_ssl?
 
Back
Top