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

certificate signed by unknown authority #60

Open
devdandi opened this issue Dec 31, 2021 · 1 comment
Open

certificate signed by unknown authority #60

devdandi opened this issue Dec 31, 2021 · 1 comment

Comments

@devdandi
Copy link

How to solve this ? i am newbie in Golang

@Stieneee
Copy link

Most likely the certificate on your mumble server is self signed.

You have a couple of options

  1. get a signed cert and load into you mumble server - checkout letsencrypt - secure
  2. copy the self signed root ca certificate to the client machine. - secure
  3. Allow the gumble connection to accept the insecure certificate - easy, not secure.

If you just want to get you application working and worry about the other stuff later most people will turn to 3. You want to pass the gumble dialer a tls.Config object https://pkg.go.dev/crypto/tls#Config with InsecureSkipVerify set to true. Would look a little something like this.

var tlsConfig tls.Config

tlsConfig.InsecureSkipVerify = true

MumbleClient, err = gumble.DialWithDialer(new(net.Dialer), MumbleAddr, MumbleConfig, &tlsConfig) 

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

No branches or pull requests

2 participants