Add support for self-signed certificates

This commit is contained in:
Mickael Remond
2019-07-15 12:18:35 +02:00
committed by Mickaël Rémond
parent 79803a8af9
commit 9577036327
7 changed files with 56 additions and 18 deletions

View File

@@ -20,6 +20,7 @@ func main() {
Password: "test",
StreamLogger: os.Stdout,
Insecure: true,
// TLSConfig: tls.Config{InsecureSkipVerify: true},
}
router := xmpp.NewRouter()