Use trust_store instead of ca_path for mqtt integration. (#47)

This commit is contained in:
John Dyer 2022-10-04 10:44:59 -04:00 committed by GitHub
parent 4282d3aedc
commit 601d3f9aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ impl<'a> Integration<'a> {
if !conf.ca_cert.is_empty() {
ssl_opts_b
.ca_path(&conf.ca_cert)
.trust_store(&conf.ca_cert)
.context("Failed to set gateway ca_cert")?;
}