diff --git a/chirpstack/src/gateway/backend/mqtt.rs b/chirpstack/src/gateway/backend/mqtt.rs index 213d3c59..a51041db 100644 --- a/chirpstack/src/gateway/backend/mqtt.rs +++ b/chirpstack/src/gateway/backend/mqtt.rs @@ -157,7 +157,7 @@ impl<'a> MqttBackend<'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")?; }