mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-21 17:13:44 -08:00
Add support for self-signed certificates
This commit is contained in:
@@ -20,6 +20,7 @@ func main() {
|
||||
Password: "test",
|
||||
StreamLogger: os.Stdout,
|
||||
Insecure: true,
|
||||
// TLSConfig: tls.Config{InsecureSkipVerify: true},
|
||||
}
|
||||
|
||||
router := xmpp.NewRouter()
|
||||
|
||||
Reference in New Issue
Block a user