Skip to content

Commit d565d2f

Browse files
committed
add check for "dnsname" type SANs
1 parent 4c1e853 commit d565d2f

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)