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 x509: certificate is valid for true, not
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.