From e022c335a031343357b2e7ff2c0b03ba9e4cee07 Mon Sep 17 00:00:00 2001 From: leefine02 Date: Tue, 3 Sep 2024 14:59:45 +0000 Subject: [PATCH] ab#61881 --- CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs b/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs index 976f100..f17f161 100644 --- a/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs +++ b/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs @@ -515,7 +515,7 @@ string Pemify(string ss) privateKeyFile = new systemfile { filecontent = Convert.ToBase64String(privateKey), - filename = keyFileName, + filename = keyFileName.Substring(keyFileName.LastIndexOf("/") + 1), filelocation = StorePath }; @@ -527,7 +527,7 @@ string Pemify(string ss) pemFile.filecontent = contents; } - pemFile.filename = certFileName; + pemFile.filename = certFileName.Substring(certFileName.LastIndexOf("/") + 1); pemFile.filelocation = StorePath; return (pemFile, privateKeyFile);