diff --git a/cert-card b/cert-card index 729af3b..252f41e 100755 --- a/cert-card +++ b/cert-card @@ -6,7 +6,7 @@ certname=${1:-} fetchkey=${2:-} if [[ -z $certname || -z $fetchkey ]]; then - echo "usage: $0 " + echo "usage: $0 " fi echo "Reading PEM from stdin..." >&2 @@ -91,7 +91,7 @@ convert -size 696x492 canvas:white \ -background None -layers Flatten front-$certname.png # TODO: update this URL -url="http://print-your-cert.cert-manager.io/certificate?certName=$certname&fetchKey=$fetchkey" +url="https://print-your-cert.cert-manager.io/certificate?certName=$certname&fetchKey=$fetchkey" # url="http://192.168.1.171:8080/certificate?certName=$certname&fetchKey=$fetchkey" echo "$url" >&2 echo "$url" | qrencode --type PNG --margin 4 -o - | convert -size 696x492 canvas:white \