There was an error while loading. Please reload this page.
1 parent 64c7d54 commit 2657bdeCopy full SHA for 2657bde
1 file changed
src/network.rs
@@ -53,8 +53,8 @@ impl RedfishClientPoolBuilder {
53
///
54
/// By default self signed certificates will be accepted, since BMCs usually
55
/// use those.
56
- pub fn reject_invalid_certs(mut self) -> Self {
57
- self.accept_invalid_certs = false;
+ pub fn danger_accept_invalid_certs(mut self) -> Self {
+ self.accept_invalid_certs = true;
58
self
59
}
60
@@ -133,7 +133,7 @@ impl RedfishClientPool {
133
connect_timeout: DEFAULT_CONNECT_TIMEOUT,
134
timeout: DEFAULT_TIMEOUT,
135
// BMCs often have a self-signed cert, so usually this has to be true
136
- accept_invalid_certs: true,
+ accept_invalid_certs: false,
137
proxy: None,
138
139
0 commit comments