crypto/x509.HostnameError.Host (field)
6 uses
crypto/x509 (current package)
verify.go#L106: Host string
verify.go#L112: if !c.hasSANExtension() && matchHostnames(c.Subject.CommonName, h.Host) {
verify.go#L125: if ip := net.ParseIP(h.Host); ip != nil {
verify.go#L128: return "x509: cannot validate certificate for " + h.Host + " because it doesn't contain any IP SANs"
verify.go#L145: return "x509: certificate is not valid for any names, but wanted to match " + h.Host
verify.go#L147: return "x509: certificate is valid for " + valid + ", not " + h.Host
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |