diff --git a/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs b/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs index 1792c0c..7cae993 100644 --- a/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs +++ b/CitrixAdcOrchestratorJobExtension/CitrixAdcStore.cs @@ -315,8 +315,11 @@ public void UpdateKeyPair(string keyPairName, string certFileName, string keyFil if (count > 0) { Logger.LogTrace($"Updating certificate-key pair with name {keyPairName}"); - sslcertkey.change(_nss, certKeyObject); - sslcertkey.update(_nss, certKeyObject); + base_response chgResponse = sslcertkey.change(_nss, certKeyObject); + Logger.LogDebug($"sslcertkey.change: ## Error Code ##: {chgResponse.errorcode} ## Message ##: {chgResponse.message}"); + + base_response updResponse = sslcertkey.update(_nss, certKeyObject); + Logger.LogDebug($"sslcertkey.update: ## Error Code ##: {updResponse.errorcode} ## Message ##: {updResponse.message}"); } else {