Fixed ssl support for Apache2 for test...
This commit is contained in:
parent
1852db0899
commit
effa8607dd
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
INSTALLERVERSION="1.02"
|
||||
INSTALLERVERSION="1.02.01"
|
||||
|
||||
if [[ $(whoami) != "root" ]]; then
|
||||
echo "You must be root to run this script!"
|
||||
|
@ -1121,6 +1121,7 @@ fi
|
|||
|
||||
if [[ $p -lt 5 ]]; then
|
||||
echo "Testing that Apache2 is accessible from the web..."
|
||||
a2enmod ssl > /dev/null 2>> installer-errors.log && systemctl restart apache2 > /dev/null 2>> installer-errors.log || failMsg "Apache2 failed to enable module ssl..."
|
||||
a2ensite default-ssl.conf > /dev/null 2>> installer-errors.log && systemctl reload apache2 > /dev/null 2>> installer-errors.log || failMsg "Apache2 failed to activate default SSL configuration..."
|
||||
json=$(curl -s "http://api.zaks.web.za/testhttp")
|
||||
httpresult=$(echo "$json" | jq -r .http.result)
|
||||
|
|
Loading…
Reference in New Issue