Simplified SSL verification ruleset. Sets peer, peer_name and verify_host to be strictly verified. To change the values, see getContext() and setContext(). You don't need to run this yourself as it runs on the defaults when nothing else is set.
Signature
public function setStrictVerification([boolean
$verifyBooleanValue = true,
[boolean
$selfsignedBooleanValue = false]] )
Parameters
$verifyBooleanValue
—
boolean
Peer verification (default=true, always verify).
$selfsignedBooleanValue
—
boolean
Allow self signed vertificates (default=false, never allow this).