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

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 "https://127.0.0.1
:4646/v1/agent/self": x509: certificate is valid for 127.0.0.1, 10.x.x.x, not 127.0.0.1

127.0.0.1 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?