Help Center/ Koo Command Line Interface/ User Guide/ Options/ Skipping HTTPS Request Certificate Verification
Updated on 2022-11-21 GMT+08:00

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 KooCLI 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.

hcloud ECS NovaListServers --cli-region="ap-southeast-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": []
}

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.