1[← Client](2-Client-EN.md) | SSL Verify[(中文)](3-Verify-CN.md) | [Proxy →](4-Proxy-EN.md)
2***
3
4# SSL Verify
5
6## Summary
7Describes the SSL certificate verification behavior of a request.
8- Set `false` to disable certificate validation, (This is not safe, please set certificates! )
9- Set to `true` to enable SSL certificate verification and use the default CA bundle provided by operating system.
10
11## Default
12- `false`
13
14## Setting
15### Setting on Request
16```go
17// Set request HTTPSInsecure(Only the request is effected.)
18request.SetHTTPSInsecure(true)                           // Set request HTTPSInsecure to true.
19isInsecure := request.GetHTTPSInsecure()                 // Get request HTTPSInsecure.
20```
21
22### Setting on Client
23> When the request is not set, the client settings are used.
24
25```go
26// Set client HTTPSInsecure(For all requests which is sent by the client.)
27client.SetHTTPSInsecure(true)                         // Set client HTTPSInsecure to true.
28isInsecure := client.GetHTTPSInsecure()               // Get client HTTPSInsecure.
29```
30
31***
32[← Client](2-Client-EN.md) | SSL Verify[(中文)](3-Verify-CN.md) | [Proxy →](4-Proxy-EN.md)
33