X509: certificate is valid for, 10.x.x.x, not

Nomad calls fail with following error on all windows nodes.

C:\Users\Administrator>c:\services\nomad\1.1.5\nomad.exe node eligibility -enabl
e -self
The parameter is incorrect.
Error querying agent info: failed querying self endpoint: Get "
:4646/v1/agent/self": x509: certificate is valid for, 10.x.x.x, not is added in ipsans as seen from the error itself. We have a cluster with linux and windows nodes running nomad enabled with tls using vault and consul-template. This issue is only seen on windows nodes, linux nodes are performing as expected.

Any leads on what might be wrong?

1 Like