This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Integration tests and examples should be able to compile using a (self-signed) certificate #240
Labels
enhancement
The issue is an enhancement request.
Comments
@PlagueHO have written down steps in PowerShell/DscResources#89 (comment) that might be able to be reused, which seems to be the same as in https://docs.microsoft.com/en-us/powershell/dsc/securemof. |
johlju
added a commit
to johlju/DscResource.Tests
that referenced
this issue
Jun 26, 2018
- Added support for example and integration tests configuration can compile using a certificate, so that there are no more need for PSDscAllowPlainTextPassword in configurations (issue PowerShell#240).
johlju
added a commit
to johlju/DscResource.Tests
that referenced
this issue
Jun 27, 2018
- Added support for example and integration test configurations can compile using a certificate, so that there are no more need for PSDscAllowPlainTextPassword in configurations (issue PowerShell#240).
The helper function New-DscSelfSignedCertificate would preferably use the PSPKI module on the PowerShell Gallery (https://github.com/Crypt32/PSPKI), but there is a bug using that, see issue PKISolutions/PSPKI#42. Also when running in the build worker it generates this error.
https://ci.appveyor.com/project/johlju/xpsdesiredstateconfiguration/build/6.0.104.0 Using the script in the Script Gallery works. |
PR #241 now uses the module PSPKI thanks to the author helping to explain what I did wrong! |
johlju
added a commit
to johlju/DscResource.Tests
that referenced
this issue
Jul 3, 2018
- Added support for example and integration test configurations can compile using a certificate, so that there are no more need for PSDscAllowPlainTextPassword in configurations (issue PowerShell#240).
johlju
added a commit
to johlju/DscResource.Tests
that referenced
this issue
Jul 7, 2018
- Added support for example and integration test configurations can compile using a certificate, so that there are no more need for PSDscAllowPlainTextPassword in configurations (issue PowerShell#240).
johlju
added a commit
that referenced
this issue
Jul 7, 2018
…mpile using a certificate (#241) - Added support for example and integration test configurations can compile using a certificate, so that there are no more need for PSDscAllowPlainTextPassword in configurations (issue #240). - Updated texts in README.md that was out-of-date. - Formatted files so some white-space changes occurred. - Moved the "DisableConsistency" piece of code out of the AppVeyor.psm1 into a helper function to support more settings, and test the code easier.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To be able to make the examples and integration tests secure by default, we need a certificate on the build worker to be able to compile the configurations. Preferably this should be a self-signed certificate that is created for each test run.
This should make sure to take issue #198 in account.
This would close PowerShell/DscResources#87 and help with PowerShell/DscResources#89 as well.
The text was updated successfully, but these errors were encountered: