From 63cf63c5e0e559a9d014fb741255769189dc6d21 Mon Sep 17 00:00:00 2001 From: Mark Kachkaev Date: Thu, 6 Mar 2025 10:56:40 -0500 Subject: [PATCH] Fixed issue with SANs not being read. --- CHANGELOG.md | 5 ++++- cscglobal-caplugin/RequestManager.cs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cc566d..2d0faf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,5 @@ +v1.0.1 +- Fixed issue with SANs not being read correctly. + v1.0 - -Initial Release. \ No newline at end of file +- Initial Release. \ No newline at end of file diff --git a/cscglobal-caplugin/RequestManager.cs b/cscglobal-caplugin/RequestManager.cs index 51917ca..41a1a83 100644 --- a/cscglobal-caplugin/RequestManager.cs +++ b/cscglobal-caplugin/RequestManager.cs @@ -230,7 +230,7 @@ private List GetSubjectAlternativeNames(EnrollmentProduc var subjectNameList = new List(); var methodType = productInfo.ProductParameters["Domain Control Validation Method"]; - foreach (var v in sans["dns"]) + foreach (var v in sans["dnsname"]) { var domainName = v; var san = new SubjectAlternativeName();