You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
2.6.1
2
+
* documentation updates for the 2.6 release
3
+
* fix a naming typo in the 2.5 migration SQL script
4
+
* update integration-manifest.json
5
+
* Updated the Alias in IIS to also include Site-Name. NOTE: Inventory will need to be performed prior to any management job to include new Alias format.
6
+
1
7
2.6.0
2
8
* Added the ability to run the extension in a Linux environment. To utilize this change, for each Cert Store Types (WinCert/WinIIS/WinSQL), add ssh to the Custom Field <b>WinRM Protocol</b>. When using ssh as a protocol, make sure to enter the appropriate ssh port number under WinRM Port.
3
9
* NOTE: For legacy purposes the Display names WinRM Protocol and WinRM Port are maintained although the type of protocols now includes ssh.
varfailureMessage=$"Inventory job failed for Site '{jobConfiguration.CertificateStoreDetails.StorePath}' on server '{jobConfiguration.CertificateStoreDetails.ClientMachine}' with error: '{LogHandler.FlattenException(ex)}'";
110
+
varfailureMessage=$"Inventory job failed for Site '{jobConfiguration.CertificateStoreDetails.StorePath}' on server '{jobConfiguration.CertificateStoreDetails.ClientMachine}' with error: '{ex.Message}'";
111
111
_logger.LogWarning(failureMessage);
112
112
113
113
returnnewJobResult
@@ -164,7 +164,7 @@ public List<CurrentInventoryItem> QueryIISCertificates(RemoteSettings settings)
_results=psHelper.ExecutePowerShell("New-KFIISSiteBinding",parameters);// returns true if successful
55
+
_logger.LogTrace("Returned from executing PS function (New-KFIISSiteBinding)");
56
+
57
+
if(_results!=null&&_results.Count>0)
60
58
{
61
-
_logger.LogTrace($"Bound certificate with the thumbprint: '{thumbprint}' to site: '{bindingInfo.SiteName}' successfully.");
62
-
return;
59
+
varbaseObject=_results[0]?.BaseObject;
60
+
if(baseObjectisboolvalue)
61
+
{
62
+
if(value)
63
+
{
64
+
_logger.LogTrace($"Bound certificate with the thumbprint: '{thumbprint}' to site: '{bindingInfo.SiteName}' successfully.");
65
+
}
66
+
else
67
+
{
68
+
_logger.LogTrace("Something happened and the binding failed.");
69
+
}
70
+
}
71
+
else
72
+
{
73
+
_logger.LogWarning("Unexpected result type returned from script: "+baseObject?.GetType().Name);
74
+
}
63
75
}
64
76
else
65
77
{
66
-
_logger.LogTrace("Something happened and the binding failed.");
78
+
_logger.LogWarning("PowerShell script returned no results.");
67
79
}
68
80
}
69
-
70
-
thrownewException($"An unknown error occurred while attempting to bind thumbprint: {thumbprint} to site: '{bindingInfo.SiteName}'. \nCheck the UO Logs for more information.");
81
+
catch(Exceptionex)
82
+
{
83
+
thrownewException($"An unknown error occurred while attempting to bind thumbprint: {thumbprint} to site: '{bindingInfo.SiteName}'. \n{ex.Message}");
0 commit comments