Advanced
Тема интерфейса

Skipping HTTPS Request Certificate Verification

The cli-skip-secure-verify option specifies whether to skip HTTPS certificate verification (skipping is not recommended). When you use Cloud CLI to call a cloud service API after configuring the HTTP proxy, the error x509 may occur due to a certificate verification failure. To prevent this from happening, add --cli-skip-secure-verify=true to a command and then run the command. During the command execution, you will be prompted to confirm whether to skip HTTPS certificate verification.

cloud ECS NovaListServers --cli-region="ru-moscow-1" --project_id="2cc6****************6caefa5019ef" --cli-skip-secure-verify=true
Using `--cli-skip-secure-verify=true` will expose your private data to the public network and cause interception risks. Continue? (y/N): y
{
"servers": []
}
Note

However, using --cli-skip-secure-verify=true to skip HTTPS certificate verification will cause your private data to be exposed to the public network and a risk of theft. Therefore, you are not advised to use this option. To resolve this problem, you are advised to import the certificate issued by your company to the trusted CA certificate of the OS.