I am trying to run a gnmic command with tls-ca option:
gnmic -u admin -p admin --tls-ca /path/to/root-ca -a <ip>:<port> capabilities
I have configured gNMI on mimic, with TLS certificate and key(corresponding to root ca) configured.
But this doesn't work, with error:
target ".......", capabilities request failed: failed to create a gRPC client for target ......: context deadline exceeded
Error: one or more requests failed
But with --insecure flag things work. So something is not working when I try to do TLS verification.
What can be missing in my whole setup, either on gNMI side or from gnmic side?
I am trying to run a gnmic command with tls-ca option:
gnmic -u admin -p admin --tls-ca /path/to/root-ca -a <ip>:<port> capabilities
I have configured gNMI on mimic, with TLS certificate and key(corresponding to root ca) configured.
But this doesn't work, with error:
But with --insecure flag things work. So something is not working when I try to do TLS verification.
What can be missing in my whole setup, either on gNMI side or from gnmic side?