Fixed Formatting
This commit is contained in:
parent
7ef3192277
commit
e48851a9da
@ -92,7 +92,8 @@ unifi_deploy() {
|
||||
_debug _unifi_keystore "$_unifi_keystore"
|
||||
if ! _exists keytool; then
|
||||
_err "keytool not found."
|
||||
_keytool_instructions=$(cat <<-EOF
|
||||
_keytool_instructions=$(
|
||||
cat <<-EOF
|
||||
Unifi removed keytool from the console OS after version 3.
|
||||
You may be able to reinstall with
|
||||
"apt update && apt install openjdk-11-jre-headless -y"
|
||||
@ -160,9 +161,11 @@ EOF
|
||||
_info "Updating system configuration for cipher compatibility."
|
||||
_info "Saved original system config to /usr/lib/unifi/data/system.properties_original"
|
||||
sed -i '/unifi\.https\.ciphers/d' /usr/lib/unifi/data/system.properties
|
||||
echo "unifi.https.ciphers=ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES128-GCM-SHA256" &>> /usr/lib/unifi/data/system.properties
|
||||
echo "unifi.https.ciphers=ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES128-GCM-SHA256" &
|
||||
>>/usr/lib/unifi/data/system.properties
|
||||
sed -i '/unifi\.https\.sslEnabledProtocols/d' /usr/lib/unifi/data/system.properties
|
||||
echo "unifi.https.sslEnabledProtocols=TLSv1.3,TLSv1.2" &>> /usr/lib/unifi/data/system.properties
|
||||
echo "unifi.https.sslEnabledProtocols=TLSv1.3,TLSv1.2" &
|
||||
>>/usr/lib/unifi/data/system.properties
|
||||
_info "System configuration updated."
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user