crypto/x509.HostnameError.Host (field)

6 uses

	crypto/x509 (current package)
		verify.go#L98: 	Host        string
		verify.go#L104: 	if !c.hasSANExtension() && matchHostnames(c.Subject.CommonName, h.Host) {
		verify.go#L109: 	if ip := net.ParseIP(h.Host); ip != nil {
		verify.go#L112: 			return "x509: cannot validate certificate for " + h.Host + " because it doesn't contain any IP SANs"
		verify.go#L125: 		return "x509: certificate is not valid for any names, but wanted to match " + h.Host
		verify.go#L127: 	return "x509: certificate is valid for " + valid + ", not " + h.Host