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
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
v3.0.0
2
+
- Added support for post quantum MLD-SA certificates for store types RFPEM, RFJKS, RFPkcs12, and RFDER
3
+
- Added support for On Device Key Generation (ODKG) as well as On Orchestrator Key Generation (OOKG)
4
+
- ODKG: uses OpenSSL to generate private key and CSR on the target device
5
+
- OOKG: uses BouncyCastle libraries to generate the private key and CSR on the orchestrator
6
+
- Removed FileTransferProtocol option from the config.json and store type custom fields. Integration will now always attempt SCP first and then SFTP (if SCP fails) for all file transfers.
7
+
1
8
v2.12.0
2
9
- Added config.json setting and its override store level custom field - AllowShellCommands. If "N" (default "Y"), SFTP will be used to create stores and move files on Linux-based certificate store servers. No Linux shell commands will be used in the integration.
// throw new RemoteFileException($"Certificate store {config.CertificateStoreDetails.StorePath} does not exist on server {config.CertificateStoreDetails.ClientMachine}.");
71
-
// }
72
-
73
-
// // generate CSR and call back to enroll certificate
74
-
// string csr = string.Empty;
75
-
// string pemPrivateKey = string.Empty;
76
-
// if (CreateCSROnDevice)
77
-
// {
78
-
// csr = certificateStore.GenerateCSROnDevice(SubjectText, KeyTypeEnum, KeySize, new List<string>(sans.Split('&', StringSplitOptions.RemoveEmptyEntries)), out pemPrivateKey);
79
-
// }
80
-
// else
81
-
// {
82
-
// csr = certificateStore.GenerateCSR(SubjectText, KeyTypeEnum, KeySize, new List<string>(sans.Split('&', StringSplitOptions.RemoveEmptyEntries)));
// if (cert == null || String.IsNullOrEmpty(pemPrivateKey))
87
-
// throw new RemoteFileException("Enrollment of CSR failed. Please check Keyfactor Command logs for more information on potential enrollment errors.");
// logger.LogDebug($"END add Operation for {config.CertificateStoreDetails.StorePath} on {config.CertificateStoreDetails.ClientMachine}.");
99
-
//}
100
-
101
-
//catch (Exception ex)
102
-
//{
103
-
// string errorMessage = $"Exception for {config.Capability}: {RemoteFileException.FlattenExceptionMessages(ex, string.Empty)} for job id {config.JobId}";
104
-
// logger.LogError(errorMessage);
105
-
// return new JobResult() { Result = OrchestratorJobStatusJobResult.Failure, JobHistoryId = config.JobHistoryId, FailureMessage = $"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}: {errorMessage}" };
thrownewRemoteFileException($"Certificate store {config.CertificateStoreDetails.StorePath} does not exist on server {config.CertificateStoreDetails.ClientMachine}.");
71
+
}
72
+
73
+
// generate CSR and call back to enroll certificate
logger.LogDebug($"END add Operation for {config.CertificateStoreDetails.StorePath} on {config.CertificateStoreDetails.ClientMachine}.");
99
+
}
100
+
101
+
catch(Exceptionex)
102
+
{
103
+
stringerrorMessage=$"Exception for {config.Capability}: {RemoteFileException.FlattenExceptionMessages(ex,string.Empty)} for job id {config.JobId}";
104
+
logger.LogError(errorMessage);
105
+
returnnewJobResult(){Result=OrchestratorJobStatusJobResult.Failure,JobHistoryId=config.JobHistoryId,FailureMessage=$"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}: {errorMessage}"};
106
+
}
107
+
finally
108
+
{
109
+
if(certificateStore.RemoteHandler!=null)
110
+
certificateStore.Terminate();
111
+
}
112
112
113
113
logger.LogDebug($"...End {config.Capability} job for job id {config.JobId}");
0 commit comments