How can I prevent ssl from checking without changing the source code of the class Services_OpenStreetMap_Transport_HTTP?
class Services_OpenStreetMap_Transport_HTTP
implements Services_OpenStreetMap_Transport
{
...
public function getResponse(
$url,
$method = HTTP_Request2::METHOD_GET,
$user = null,
$password = null,
$body = null,
array $post_data = null,
array $headers = null
) {
...
$request = $this->getRequest();
$request->setUrl($url);
$request->setMethod($method);
$request->setAdapter($this->getConfig()->getValue('adapter'));
// my insertion
$request->setConfig('ssl_verify_peer', FALSE);
$request->setConfig('ssl_verify_host', FALSE);
// the end of my insertion
...