Fixed wrong path for issuer cert

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-02-15 08:45:12 +01:00
parent 20ed493e31
commit 43667bc6cf
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -69,7 +69,7 @@ async fn main() {
let list = List::fetch().unwrap(); let list = List::fetch().unwrap();
let base_cert_dir = "/etc/nginx/certs/"; 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 { let mut ovh_client = OVHClient {
app_key: env::var("OVH_APP_KEY") app_key: env::var("OVH_APP_KEY")
.expect("Missing key value 'OVH_APP_KEY'."), .expect("Missing key value 'OVH_APP_KEY'."),