$this->method = 'https';
$this->client->method = 'https';
$this->client->path = $this->args['HTTPSURI'];
- $this->client->setSSLVerifyPeer( !$this->args['HTTPSIGNOREPEER'] );
+ $this->client->setSSLVerifyPeer(!$this->args['HTTPSIGNOREPEER']);
+ $this->client->setSSLVerifyHost($this->args['HTTPSVERIFYHOST']);
+ $this->client->setSSLVersion($this->args['SSLVERSION']);
$this->_runtests();
}
$this->client->method = 'https';
$this->client->setProxy($this->args['PROXYSERVER'], $this->args['PROXYPORT']);
$this->client->path = $this->args['HTTPSURI'];
- $this->client->setSSLVerifyPeer( !$this->args['HTTPSIGNOREPEER'] );
+ $this->client->setSSLVerifyPeer(!$this->args['HTTPSIGNOREPEER']);
+ $this->client->setSSLVerifyHost($this->args['HTTPSVERIFYHOST']);
+ $this->client->setSSLVersion($this->args['SSLVERSION']);
$this->_runtests();
}