-
Notifications
You must be signed in to change notification settings - Fork 134
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
[xDscWebService] not in desired state when AcceptSelfSignedCertificates Parameter is not used #768
Comments
I think this need to be changed.
xPSDesiredStateConfiguration/source/DSCResources/DSC_xDSCWebService/DSC_xDSCWebService.psm1 Line 332 in 1d48c47
Then this code should only run if xPSDesiredStateConfiguration/source/DSCResources/DSC_xDSCWebService/DSC_xDSCWebService.psm1 Lines 597 to 606 in 1d48c47
Same here, this code should only run if xPSDesiredStateConfiguration/source/DSCResources/DSC_xDSCWebService/DSC_xDSCWebService.psm1 Lines 1001 to 1045 in 1d48c47
|
Problem description
If you create a Pullserver and do not set the
AcceptSelfSignedCertificates
Parameter the Set-TargetResource will set it to $trueBut the Test-TargetRessource will set it to $false
Because of that the Test-DscConfiguration command will report the Ressource not in desired state.
Verbose logs
DSC configuration
Suggested solution
Set the Parameter default value to the same value.
Operating system the target node is running
PowerShell version and build the target node is running
xPSDesiredStateConfiguration version
The text was updated successfully, but these errors were encountered: