web.disableSSLVerification
Disables SSL/TLS certificate verification for HTTP requests.
js
web.disableSSLVerification()
Returns
boolean
:true
if SSL verification was successfully disabled,false
if it could not be disabled.
Examples
js
var isDisabled = web.disableSSLVerification();
console.log("SSL verification disabled:", isDisabled);
Notes
- Disabling SSL verification allows requests to proceed even if the server's SSL certificate is invalid or self-signed.
- Use this method with caution, as it can expose requests to security risks such as man-in-the-middle attacks.
- If SSL verification is disabled, secure HTTPS connections may still be encrypted, but they will not be validated against a certificate authority (CA).