Skip to content

Commit

Permalink
certs error
Browse files Browse the repository at this point in the history
  • Loading branch information
PCF Developer committed Jan 29, 2019
1 parent 47e62bd commit a4dc84d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy_pcf-opsman.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,12 @@ if (!(test-path -Path "$($HOME)/opsman.pub")) {
Pop-Location
Break
}
if (!(test-path -Path "$($HOME)/$($PCF_SUBDOMAIN_NAME).$($dnsdomain).crt")) {
write-host "Required$($HOME)/$($PCF_SUBDOMAIN_NAME).$($dnsdomain).crt not found.
if (!(test-path -Path "$($HOME)/$($PCF_SUBDOMAIN_NAME).$($location).$($dnsdomain).crt")) {
write-host "Required$($HOME)/$($PCF_SUBDOMAIN_NAME).$($location).$($dnsdomain).crt not found.
Now Generating Self Signed Certificates
"
$command= "$PSScriptRoot/scripts/create_certs.ps1 -PCF_SUBDOMAIN_NAME $PCF_SUBDOMAIN_NAME -PCF_DOMAIN_NAME $dnsdomain"
$command= "$PSScriptRoot/scripts/create_certs.ps1 -PCF_SUBDOMAIN_NAME $PCF_SUBDOMAIN_NAME -PCF_DOMAIN_NAME $($location).$($dnsdomain)"
Write-Host "Now running $command"
Invoke-Expression -Command $command
}

Expand Down

0 comments on commit a4dc84d

Please sign in to comment.