Browse Source

Update the staging server default root

update-pebble-docker-repo
Tim Kimber 2 years ago
parent
commit
8602ffc2cd
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/35-preferred-chain.bats

+ 2
- 2
test/35-preferred-chain.bats View File

@ -53,8 +53,8 @@ EOF
@test "Use PREFERRED_CHAIN to select the default root" {
if [ -n "$STAGING" ]; then
PREFERRED_CHAIN="\(STAGING\) Doctored Durian Root CA X3"
CHECK_CHAIN="(STAGING) Doctored Durian Root CA X3"
PREFERRED_CHAIN="\(STAGING\) Pretend Pear X1"
CHECK_CHAIN="(STAGING) Pretend Pear X1"
else
PREFERRED_CHAIN=$(curl --silent https://pebble:15000/roots/0 | openssl x509 -text -noout | grep Issuer: | awk -F"CN *= *" '{ print $2 }')
PREFERRED_CHAIN="${PREFERRED_CHAIN# }" # remove leading whitespace


Loading…
Cancel
Save