certificates/autocert/examples/hello-mtls/curl/client.sh
2019-01-24 17:22:36 -08:00

11 lines
No EOL
259 B
Bash

#!/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