Skip to content

Commit 6e02da8

Browse files
authored
Merge pull request #18 from Keyfactor/sanfix
add check for "dnsname" type SANs
2 parents 4c1e853 + d565d2f commit 6e02da8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

digicert-certcentral-caplugin/CertCentralCAPlugin.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ public async Task<EnrollmentResult> Enroll(string csr, string subject, Dictionar
9393
{
9494
dnsNames = new List<string>(san["Dns"]);
9595
}
96+
if (san.ContainsKey("dnsname"))
97+
{
98+
dnsNames = new List<string>(san["dnsname"]);
99+
}
96100

97101
X509Name subjectParsed = null;
98102
string commonName = null, organization = null, orgUnit = null;

0 commit comments

Comments
 (0)