Skip to content

Commit

Permalink
Revert "Changed $ca parameter"
Browse files Browse the repository at this point in the history
This reverts commit 998e100.
  • Loading branch information
svenvanrijen committed Feb 9, 2017
1 parent 998e100 commit a3dddd3
Showing 1 changed file with 3 additions and 3 deletions.
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'"

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

0 comments on commit a3dddd3

Please sign in to comment.