Configure SSL certificate check via API

This change allows the certificate check to be disabled via the API.