Skip to content

Commit

Permalink
Merge pull request #8 from Keyfactor/release-1.0
Browse files Browse the repository at this point in the history
Merge release 1.0.1 to main
  • Loading branch information
fiddlermikey authored Oct 12, 2023
2 parents 7f8735a + 07a0451 commit d76d9a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
1.0
1.0.1
- Allow duplicated subject elements to be entered in a Reenrollment request.
- Duplicate subject elements will not be sent to Akamai but can be added during certificate enrollment by a CA.

1.0.0
- Initial release
- Supports single-stacked certificates
- Enrolls third-party certificates for Akamai on a Keyfactor CA
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ The Universal Orchestrator is the successor to the Windows Orchestrator. This Or




---




## Platform Specific Notes

The Keyfactor Universal Orchestrator may be installed on either Windows or Linux based platforms. The certificate operations supported by a capability may vary based what platform the capability is installed on. The table below indicates what capabilities are supported based on which platform the encompassing Universal Orchestrator is running.
Expand Down
8 changes: 7 additions & 1 deletion akamai-cps-orchestrator/Jobs/Reenrollment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,18 @@ public JobResult ProcessJob(ReenrollmentJobConfiguration jobConfiguration, Submi
string contractId = GetRequiredValue(allJobProps, "ContractId");
string sans = GetRequiredValue(allJobProps, "Sans"); // ampersand split sans

_logger.LogDebug($"Reading passed in reenrollment subject: {subject}");
string[] subjectParams = subject.Split(',');
var subjectValues = new Dictionary<string, string>();
foreach (var subjectParam in subjectParams)
{
string[] subjectPair = subjectParam.Split('=', 2);
subjectValues.Add(subjectPair[0].ToUpper(), subjectPair[1]);
bool subjectParsedSuccessfully = subjectValues.TryAdd(subjectPair[0].ToUpper(), subjectPair[1]);

if (!subjectParsedSuccessfully)
{
_logger.LogInformation($"Subject element '{subjectPair[0]}' with value '{subjectPair[1]}' was not included in the Reenrollment subject sent to Akamai.");
}
}

var reenrollment = new Enrollment()
Expand Down

0 comments on commit d76d9a9

Please sign in to comment.