-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I'm running the examples.go on Windows 10 64-bit (Git Bash), but it always fail with panic:
$ go run examples.go
panic: failed to request CA certificates: Get "https://testrfc7030.com:8443/.well-known/est/cacerts": x509: certificate signed by unknown authority
goroutine 1 [running]:
main.panicOnError(...)
C:/Users/Willian/go/src/github.com/thales-e-security/estclient/examples/examples.go:80
main.main()
C:/Users/Willian/go/src/github.com/thales-e-security/estclient/examples/examples.go:44 +0x813
exit status 2
It's just into the call:
cacerts, err := client.CaCerts()
How I can tell GOLang to use the local file dstcax3.pem?
If I do the call with curl, giving the dstcax3.pem, it works!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels