From 4b6d86ef8913ab414fd071bcedb1457200f6bdff Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Fri, 4 Sep 2015 18:49:30 -0400 Subject: [PATCH] trim the instructions at the end of an upgrade about the DNS-broken control panel login --- setup/start.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/setup/start.sh b/setup/start.sh index d69bfa5f..96abd617 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -130,17 +130,19 @@ if management/status_checks.py --check-primary-hostname; then # Show the nice URL if it appears to be resolving and has a valid certificate. echo https://$PRIMARY_HOSTNAME/admin echo - echo If you have a DNS problem use the box\'s IP address and check the SSL fingerprint: - echo https://$PUBLIC_IP/admin + 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 SSL fingerprint:" + openssl x509 -in $STORAGE_ROOT/ssl/ssl_certificate.pem -noout -fingerprint \ + | sed "s/SHA1 Fingerprint=//" else echo https://$PUBLIC_IP/admin echo echo You will be alerted that the website has an invalid certificate. Check that echo the certificate fingerprint matches: echo + openssl x509 -in $STORAGE_ROOT/ssl/ssl_certificate.pem -noout -fingerprint \ + | sed "s/SHA1 Fingerprint=//" + echo + echo Then you can confirm the security exception and continue. + echo fi -openssl x509 -in $STORAGE_ROOT/ssl/ssl_certificate.pem -noout -fingerprint \ - | sed "s/SHA1 Fingerprint=//" -echo -echo Then you can confirm the security exception and continue. -echo