Try to renew all ZT-Domain certificates
(&self)
| 84 | |
| 85 | /// Try to renew all ZT-Domain certificates |
| 86 | pub async fn try_renew_all(&self) -> Result<()> { |
| 87 | let configs = self.kv_store.list_zt_domain_configs(); |
| 88 | for config in configs { |
| 89 | if let Err(err) = self.try_renew(&config.domain, false).await { |
| 90 | error!("cert[{}]: failed to renew: {err:?}", config.domain); |
| 91 | } |
| 92 | } |
| 93 | Ok(()) |
| 94 | } |
| 95 | |
| 96 | /// Try to renew certificate for a specific domain if needed |
| 97 | #[tracing::instrument(skip(self))] |
no test coverage detected