From 31bbef3401df4a0c9384de7d5c0bc5a85381220e Mon Sep 17 00:00:00 2001 From: Hugh Secker-Walker Date: Sat, 28 Jan 2023 11:12:40 -0500 Subject: [PATCH] chore(setup): Make sed fingerprint patterns in start.sh be case insensitive (#2201) --- setup/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/start.sh b/setup/start.sh index 960ec55d..3abb4fe3 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -167,7 +167,7 @@ if management/status_checks.py --check-primary-hostname; then echo "If you have a DNS problem put the box's IP address in the URL" echo "(https://$PUBLIC_IP/admin) but then check the TLS fingerprint:" openssl x509 -in $STORAGE_ROOT/ssl/ssl_certificate.pem -noout -fingerprint -sha256\ - | sed "s/SHA256 Fingerprint=//" + | sed "s/SHA256 Fingerprint=//i" else echo https://$PUBLIC_IP/admin echo @@ -175,7 +175,7 @@ else echo the certificate fingerprint matches: echo openssl x509 -in $STORAGE_ROOT/ssl/ssl_certificate.pem -noout -fingerprint -sha256\ - | sed "s/SHA256 Fingerprint=//" + | sed "s/SHA256 Fingerprint=//i" echo echo Then you can confirm the security exception and continue. echo