Good day!
I have difficulties with requests in Go. Locally service works fine, but in the server I have this error:
"Post "https://x.x.x.x:xxxx/": x509: cannot validate certificate for x.x.x.x because it doesn't contain any IP SANs
Solutions like using dns is not suite, only ip address with port, since it is an internal service. Also, tried out:
TLSConfig: &tls.Config{
InsecureSkipVerify: true
}
Updated! Tried out with NodeJS, works fine, so I think problem with Go's tls configs
Please, hint me how can eliminate this error?