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

Changed $ca parameter #43

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DSCResources/MSFT_xCertReq/MSFT_xCertReq.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function Get-TargetResource
)

# The certificate authority, accessible on the local area network
$ca = "'$CAServerFQDN\$CARootName'"
$ca = "$CAServerFQDN\$CARootName"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good. Please document your change on the README.md file https://github.com/PowerShell/xCertificate/blob/dev/ReadMe.md

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just all changed lines as discussed under PR 43 and issue 42. Also documented the changes in README.md file as requested.


Write-Verbose -Message ( @(
"$($MyInvocation.MyCommand): "
Expand Down Expand Up @@ -278,7 +278,7 @@ function Set-TargetResource
)

# The certificate authority, accessible on the local area network
$ca = "'$CAServerFQDN\$CARootName'"
$ca = "$CAServerFQDN\$CARootName"

Write-Verbose -Message ( @(
"$($MyInvocation.MyCommand): "
Expand Down Expand Up @@ -589,7 +589,7 @@ function Test-TargetResource
)

# The certificate authority, accessible on the local area network
$ca = "'$CAServerFQDN\$CARootName'"
$ca = "$CAServerFQDN\$CARootName"

# If the Subject does not contain a full X500 path, construct just the CN
if (($Subject.split('=').count) -eq 1)
Expand Down