Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdcsCertificationAuthority fails to install when CACommonName uses a dot #137

Open
alpharedline opened this issue Feb 10, 2023 · 0 comments

Comments

@alpharedline
Copy link

When using the following configuration, taken from the exemple, and adding some fileds, a bug appears when the $CompanyName contains a dot (.) (ex: "MyCompany S.A."), whereas it does not fail on manual installation or by using the powershell command Install-AdcsCertificationAuthority

The bug consists into not triggering the installation of the CertificationAuthority, and reporting it as already present (when it is not): "Test-TargetResource: ADCS EnterpriseRootCA is installed and should be. Change not required."

After the install the "server manager" requieres to manually perform this install.

Configuration used:
$CompanyName = "My Company S. A."
AdcsCertificationAuthority CertificateAuthority
{
IsSingleInstance = 'Yes'
Ensure = 'Present'
Credential = $DomainCredential
CACommonName = "$($CompanyName) Certification Authority"
CAType = 'EnterpriseRootCA'
ValidityPeriod = 'Years'
ValidityPeriodUnits = '7'
DependsOn = '[WindowsFeature]ADCS-Cert-Authority'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant