Skip to content

crypto/x509: COMODO certifification got x509: certificate signed by unknown authority #10421

Description

@SunRunAway
What version of Go are you using (go version)?

go1.4.2

What operating system and processor architecture are you using?

darwin/amd64

What did you do?

run this program,

package main

import (
    "fmt"
    "net/http"
)

func main() {
    url := "https://catchchat.catchchatchina.com/"
    _, err := http.Head(url)
    if err != nil {
        fmt.Println(err)
    }
}
What did you expect to see?

do not print the error. This url can be opened in browsers.

What did you see instead?
[sunrunaway:~/Code/go/bin]$ go run ~/Code/gotmp/httpget.go                                                    (master) 
Head https://catchchat.catchchatchina.com/: x509: certificate signed by unknown authority

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions