How to execute Spinnaker CLI without insecure option?

Hi, I’m using spin cli configured with x509 auth. But I get an error when I run spin cli without insecure(-k) option.
(Get https://spin-cli.sre.de/applications: x509: certificate is valid for true, not spin-cli.sre.de)
How can I use cli without insecure option??
my environment is AWS EKS with ELB

I fixed this issue by correct domain for server cert.