From 54679e8b481db165a3f16e3271e90d11059026af Mon Sep 17 00:00:00 2001 From: Matteo Valentini Date: Thu, 12 Sep 2024 15:35:00 +0200 Subject: [PATCH] --- imageroot/actions/upload-certificate/23export_certificates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageroot/actions/upload-certificate/23export_certificates b/imageroot/actions/upload-certificate/23export_certificates index bc1c226..99528f5 100755 --- a/imageroot/actions/upload-certificate/23export_certificates +++ b/imageroot/actions/upload-certificate/23export_certificates @@ -32,7 +32,7 @@ result = subprocess.run( subject = result.stdout domain = { - "main": subject.split("\n")[0].split("CN=")[1], + "main": f'{subject.split("\n")[0].split("CN=")[1]}', } # save the certificate and key in redis