mirror of
https://github.com/twisterarmy/twister-cli-installer.git
synced 2025-01-17 10:10:13 +00:00
add rpcallowip on SSL enabled to support remote connections
This commit is contained in:
parent
79687bbf0b
commit
adb1e5edcd
@ -83,7 +83,7 @@ function install() {
|
|||||||
done
|
done
|
||||||
if [[ $SSL == "y" ]]; then
|
if [[ $SSL == "y" ]]; then
|
||||||
openssl req -x509 -newkey rsa:4096 -keyout ~/.twister/key.pem -out ~/.twister/cert.pem -days 365 -nodes
|
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
|
fi
|
||||||
|
|
||||||
echo "Check firewall rules..."
|
echo "Check firewall rules..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user