mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
once the user has a signed SSL cert, simplify the message at the end of setup
This commit is contained in:
parent
6a311ee7d9
commit
da2af2ea5c
@ -120,14 +120,15 @@ if management/status_checks.py --check-primary-hostname; then
|
|||||||
# Show the nice URL if it appears to be resolving and has a valid certificate.
|
# Show the nice URL if it appears to be resolving and has a valid certificate.
|
||||||
echo https://$PRIMARY_HOSTNAME/admin
|
echo https://$PRIMARY_HOSTNAME/admin
|
||||||
echo
|
echo
|
||||||
echo If there are problems with this URL, instead use:
|
echo If you have a DNS problem use the box\'s IP address and check the SSL fingerprint:
|
||||||
|
echo https://$PUBLIC_IP/admin
|
||||||
|
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
|
echo
|
||||||
fi
|
fi
|
||||||
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 \
|
openssl x509 -in $STORAGE_ROOT/ssl/ssl_certificate.pem -noout -fingerprint \
|
||||||
| sed "s/SHA1 Fingerprint=//"
|
| sed "s/SHA1 Fingerprint=//"
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user