PHP SSL error on one particular website

I have two scrapers LoveMyData/port_macquarie_hastings and LoveMyData/wollondilly

port_macquarie_hastings is working fine and it is using HTTPS

wollondilly is not working and throwing error messages like
PHP Warning: file_get_contents(): SSL operation failed with code 1.

It is working locally and I am wondering is it relating to this thread about mechanize.

I have disabled SSL check in PHP as well as force to use TLS v1 or v2, no different…

Any idea guys?

Not sure are this related.
https://github.com/openaustralia/morph/issues/940 - Perl
https://github.com/openaustralia/morph/issues/939 - Ruby

Do we just need to upgrade to the latest version of PHP? I am running v5.6.12 with no issue.