Added in 3.7

$sslcertvalid

Returns $true if the remote server ssl/tls certificate is valid, otherwise $false.