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();