create index.html for signer in test environment

This commit is contained in:
Maria Haider 2023-09-08 10:30:17 +02:00
parent c2fa4f07fe
commit d08d8e6e76
Signed by: mariah
GPG key ID: 7414A760CA747E57

View file

@ -8,7 +8,7 @@ base_dir="/opt/mdqp/work/signed_metadata"
tmpfile=$(mktemp /tmp/"$(basename "$0")".XXXXXX)
for expression in "role-sp" "role-idp"; do
for expression in "role-sp" "role-idp" "index.html"; do
echo "Fetching up ${expression}"
case $expression in
@ -20,6 +20,10 @@ for expression in "role-sp" "role-idp"; do
url="role/idp.xml"
file="/role/idp.xml"
;;
index.html)
url="entities/"
file="/entities/index.html"
;;
*)
echo "Unsupported expression ${expression}"