Skip to content

Commit 69211ee

Browse files
authored
Merge branch 'main' into release-2.0
2 parents 7dd3e56 + b282e19 commit 69211ee

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

digicert-certcentral-caplugin/CertCentralCAPlugin.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ public void Initialize(IAnyCAPluginConfigProvider configProvider, ICertificateDa
5858
public async Task<EnrollmentResult> Enroll(string csr, string subject, Dictionary<string, string[]> san, EnrollmentProductInfo productInfo, RequestFormat requestFormat, EnrollmentType enrollmentType)
5959
{
6060
_logger.MethodEntry(LogLevel.Trace);
61+
6162
_logger.LogDebug($"Enrolling for certificate with subject {subject}");
6263
foreach (var sanlist in san)
6364
{
6465
string sans = string.Join(",", sanlist.Value);
6566
_logger.LogDebug($"SANs type \"{sanlist.Key}\": {sans}");
6667
}
68+
6769
OrderResponse orderResponse = new OrderResponse();
6870
CertCentralCertType certType = CertCentralCertType.GetAllTypes(_config).FirstOrDefault(x => x.ProductCode.Equals(productInfo.ProductID));
6971
OrderRequest orderRequest = new OrderRequest(certType);
@@ -93,6 +95,7 @@ public async Task<EnrollmentResult> Enroll(string csr, string subject, Dictionar
9395
{
9496
dnsNames = new List<string>(san["Dns"]);
9597
}
98+
9699
if (san.ContainsKey("dnsname"))
97100
{
98101
dnsNames = new List<string>(san["dnsname"]);

digicert-certcentral-caplugin/CertCentralConfig.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public CertCentralConfig()
1818
public int? DivisionId { get; set; }
1919
public bool? RevokeCertificateOnly { get; set; }
2020
public bool Enabled { get; set; } = true;
21-
2221
public string SyncCAFilter { get; set; }
2322
public List<string> SyncCAs
2423
{

0 commit comments

Comments
 (0)