[amqp output] Allow external auth (cert-based tls auth)

closes #863
This commit is contained in:
Eugene Dementiev
2016-03-16 21:44:11 +03:00
committed by Michele Fadda
parent 1fbee019fc
commit a7b875d99b
3 changed files with 30 additions and 4 deletions

View File

@@ -109,6 +109,7 @@ func GetTLSConfig(
RootCAs: caCertPool,
InsecureSkipVerify: InsecureSkipVerify,
}
t.BuildNameToCertificate()
} else {
if InsecureSkipVerify {
t.InsecureSkipVerify = true