Skip to content

Commit 42c3d39

Browse files
authored
Include root certificate in chain during Management Add job (#13)
* Modify to include root certificate in certificate chain during a Managment-Add (cert add/renewal) job ---------
1 parent 0c47dfa commit 42c3d39

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v2.1.1
2+
- Modify to include root certificate in certificate chain during a Managment-Add (cert add/renewal) job
3+
14
v2.1.0
25
- Added status checking between steps when renewing a bound certificate
36

GCPLoadBalancer/Management.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ public class Management : IManagementJobExtension
7474
string certPem = string.Empty;
7575
foreach (X509CertificateEntry certEntry in p.GetCertificateChain(alias))
7676
{
77-
if (certEntry.Certificate.IssuerDN.ToString() == certEntry.Certificate.SubjectDN.ToString())
78-
continue;
77+
//commenting out code to remove root certificate from chain.
78+
//if (certEntry.Certificate.IssuerDN.ToString() == certEntry.Certificate.SubjectDN.ToString())
79+
// continue;
7980
certPem += (certStart + pemify(Convert.ToBase64String(certEntry.Certificate.GetEncoded())) + certEnd + "\n");
8081
}
8182

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ The Universal Orchestrator is the successor to the Windows Orchestrator. This Or
1919
GCP Load Balancer is supported by Keyfactor for Keyfactor customers. If you have a support issue, please open a support ticket with your Keyfactor representative.
2020

2121
###### To report a problem or suggest a new feature, use the **[Issues](../../issues)** tab. If you want to contribute actual bug fixes or proposed enhancements, use the **[Pull requests](../../pulls)** tab.
22-
___
2322

2423

2524

@@ -43,6 +42,7 @@ The Keyfactor Universal Orchestrator may be installed on either Windows or Linux
4342

4443

4544

45+
4646
---
4747

4848

0 commit comments

Comments
 (0)