We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I believe what I am looking for is similar to JavaScripts websocket, "rejectUnathorized": true.
new WebSocket(host, { headers, ca, timeout, rejectUnauthorized: false })
This would allow the websocket to connect to a server with a self signed certificate.
I believe Gorilla had this exposed... gorilla/websocket#613
The TLS package has this, and I am able to connect to my server to grab the self signed certs.
conf := &tls.Config{ InsecureSkipVerify: true } connection, _ := tls.Dial("tcp", "myserver.com:5555", conf)
Is there something already exposed in this package that I can utilize, that I'm just not seeing?
The text was updated successfully, but these errors were encountered:
DialOptions has an HTTPClient that can be set with the TLS options.
Sorry, something went wrong.
No branches or pull requests
I believe what I am looking for is similar to JavaScripts websocket, "rejectUnathorized": true.
new WebSocket(host, { headers, ca, timeout, rejectUnauthorized: false })
This would allow the websocket to connect to a server with a self signed certificate.
I believe Gorilla had this exposed... gorilla/websocket#613
The TLS package has this, and I am able to connect to my server to grab the self signed certs.
Is there something already exposed in this package that I can utilize, that I'm just not seeing?
The text was updated successfully, but these errors were encountered: