Browse Source

add rpcallowip on SSL enabled to support remote connections

main
d4708 3 years ago committed by GitHub
parent
commit
adb1e5edcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      twister-cli-installer.sh

2
twister-cli-installer.sh

@ -83,7 +83,7 @@ function install() { @@ -83,7 +83,7 @@ function install() {
done
if [[ $SSL == "y" ]]; then
openssl req -x509 -newkey rsa:4096 -keyout ~/.twister/key.pem -out ~/.twister/cert.pem -days 365 -nodes
echo -e "rpcuser=$USER_NAME\nrpcpassword=$PASSWORD\nrpcsslcertificatechainfile=~/.twister/cert.pem\nrpcsslprivatekeyfile=~/.twister/key.pem" > ~/.twister/twister.conf
echo -e "rpcallowip=*\nrpcuser=$USER_NAME\nrpcpassword=$PASSWORD\nrpcsslcertificatechainfile=~/.twister/cert.pem\nrpcsslprivatekeyfile=~/.twister/key.pem" > ~/.twister/twister.conf
fi
echo "Check firewall rules..."

Loading…
Cancel
Save