Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SunRunAway opened this issue Apr 11, 2015 · 2 comments

Comments

@SunRunAway
Copy link

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
@linniksa
Copy link

To fix this problem, you must add certificates of "COMODO RSA Domain Validation Secure Server CA" to your certififcate served from server, also see full report at https://www.ssllabs.com/ssltest/analyze.html?d=catchchat.catchchatchina.com

@SunRunAway
Copy link
Author

@linniksa Thanks.

@mikioh mikioh changed the title COMODO certifification got x509: certificate signed by unknown authority crypto/x509: COMODO certifification got x509: certificate signed by unknown authority Apr 12, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants