certificates/autocert/examples/hello-mtls/curl/client.sh

11 lines
259 B
Bash
Raw Normal View History

2019-01-25 01:22:36 +00:00
#!/bin/bash
while :
do
response=$(curl -sS \
--cacert /var/run/autocert.step.sm/root.crt \
--cert /var/run/autocert.step.sm/site.crt \
--key /var/run/autocert.step.sm/site.key \
${HELLO_MTLS_URL})
echo "$(date): ${response}"
sleep 5
done