From 43667bc6cf2f7653396b6c199fd6405c655b6bce Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Tue, 15 Feb 2022 08:45:12 +0100 Subject: [PATCH] Fixed wrong path for issuer cert Signed-off-by: Louis Vallat --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7d1813b..9bafa32 100644 --- a/src/main.rs +++ b/src/main.rs @@ -69,7 +69,7 @@ async fn main() { let list = List::fetch().unwrap(); let base_cert_dir = "/etc/nginx/certs/"; - let issuer_hash = get_hash_from_cert("./issuer.pem"); + let issuer_hash = get_hash_from_cert("/root/issuer.pem"); let mut ovh_client = OVHClient { app_key: env::var("OVH_APP_KEY") .expect("Missing key value 'OVH_APP_KEY'."),