diff --git a/http2pic.class.php b/http2pic.class.php index 0481b68..231a62b 100644 --- a/http2pic.class.php +++ b/http2pic.class.php @@ -146,7 +146,7 @@ class http2pic function renderPagePHANTOMJS() { $cmd = 'timeout '.$this->params['timeout'].' '.PHANTOMJSPATH; - $cmd.= ' --ignore-ssl-errors=yes '.__DIR__.'/phantom.js '; + $cmd.= ' --ignore-ssl-errors=yes --ssl-protocol=any '.__DIR__.'/phantom.js '; $cmd.= ($this->params['url']); $cmd.= ','.($this->params['file']);