mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-05-07 11:28:26 +00:00
Use trust_store instead of ca_path. (#37)
This commit is contained in:
parent
cba8da2d05
commit
62f981fefe
@ -157,7 +157,7 @@ impl<'a> MqttBackend<'a> {
|
|||||||
|
|
||||||
if !conf.ca_cert.is_empty() {
|
if !conf.ca_cert.is_empty() {
|
||||||
ssl_opts_b
|
ssl_opts_b
|
||||||
.ca_path(&conf.ca_cert)
|
.trust_store(&conf.ca_cert)
|
||||||
.context("Failed to set gateway ca_cert")?;
|
.context("Failed to set gateway ca_cert")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user