forked from jshiffer/go-xmpp
Add support for self-signed certificates
This commit is contained in:

committed by
Mickaël Rémond

parent
79803a8af9
commit
9577036327
@@ -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