I have website that relies on curl to return https request from Google maps, and it is not doing so. I have the correct Google maps API key installed on my site. The curl certificate is correct and up to date but the only way I can get Google maps to work is by uncommenting define ('GEO_CURL_SSL_CACERT_VERIFY_PEER_IS_BROKEN',true); in my php.ini file but this leaves my site open to a man in the middle attack and this is no good as the site is not secure if I do this.
Any advice would be grateful
Thanks