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

Constantly recieving error #5

Open
dcupwork opened this issue May 27, 2021 · 3 comments
Open

Constantly recieving error #5

dcupwork opened this issue May 27, 2021 · 3 comments

Comments

@dcupwork
Copy link

Constantly recieving error TLS handshake error from *.32.208.165:3870: remote error: tls: unknown certificate
How to fix it?
Thanks

@adrianocr
Copy link

You're going to have to give a lot more info than that. Post a copy of the server code you are using and explain what you are trying to do. That error message could be for any number of reasons.

@dcupwork
Copy link
Author

dcupwork commented May 29, 2021

server code is standart as specified by denji

`
package main

import (
// "fmt"
// "io"
"net/http"
"log"
)

func HelloServer(w http.ResponseWriter, req *http.Request) {
w.Header().Set("Content-Type", "text/plain")
w.Write([]byte("This is an example server.\n"))
// fmt.Fprintf(w, "This is an example server.\n")
// io.WriteString(w, "This is an example server.\n")
}

func main() {
http.HandleFunc("/hello", HelloServer)
err := http.ListenAndServeTLS(":8080", "server.crt", "server.key", nil)
if err != nil {
log.Fatal("ListenAndServe: ", err)
}
}
`

I have got commercial version of CA issued to a domain name. I'm trying to send request from chrome to the server and this with no luck. what I do incorrect?

@prr123
Copy link

prr123 commented Jul 13, 2022

is your CA certificate registered with Chrome? In windows, Chrome relies on the Windows trust store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants