Skip to content

Commit

Permalink
Modified integration-windows to import SSL Certs
Browse files Browse the repository at this point in the history
Will import SSL Certs before running the windows integration test. This
commit also sets SKIP_SSL_VALIDATION to false, which makes sure that it
runs the SSL related integration tests.

[#163233217]

Signed-off-by: Magesh Kumar Murali <[email protected]>
  • Loading branch information
jenspinney authored and Magesh Kumar Murali committed Feb 4, 2019
1 parent ca7f614 commit d6ade3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/cli/tasks/integration-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ $Env:CF_INT_PASSWORD=(Get-Content $pwd\cf-credentials\cf-password -Raw).trim()
$Env:CF_INT_OIDC_PASSWORD=(Get-Content $pwd\cf-credentials\uaa-oidc-password -Raw).trim()
$Env:CF_INT_OIDC_USERNAME="admin-oidc"
$Env:CF_INT_API="https://api.$DOMAIN"
$Env:SKIP_SSL_VALIDATION="false"

$CF_INT_NAME = $DOMAIN.split(".")[0]
Import-Certificate -Filepath "$pwd\cf-credentials\cert_dir\$CF_INT_NAME.lb.cert" -CertStoreLocation "cert:\LocalMachine\root"

Import-Certificate -Filepath "$pwd\cf-credentials\cert_dir\$CF_INT_NAME.router.ca" -CertStoreLocation "cert:\LocalMachine\root"

pushd $pwd\cf-cli-binaries
7z e cf-cli-binaries.tgz -y
Expand Down

0 comments on commit d6ade3a

Please sign in to comment.