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

closes #863
This commit is contained in:
Eugene Dementiev
2016-03-16 19:03:41 -06:00
committed by Cameron Sparr
parent bac1c223de
commit 530b4f3bee
3 changed files with 30 additions and 4 deletions
+1
View File
@@ -109,6 +109,7 @@ func GetTLSConfig(
RootCAs: caCertPool,
InsecureSkipVerify: InsecureSkipVerify,
}
t.BuildNameToCertificate()
} else {
if InsecureSkipVerify {
t.InsecureSkipVerify = true