This issue was caused because the ServerName property was not being set when making tls requests From the GO docs: ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address. https://pkg.go.dev/crypto/tls?tab=docmaster
parent
aa1517a820
commit
62a4e44dc1
2 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue