diff --git a/monkey/monkey_island/linux/create_certificate.sh b/monkey/monkey_island/linux/create_certificate.sh index 985f607bc..ca7d397e0 100644 --- a/monkey/monkey_island/linux/create_certificate.sh +++ b/monkey/monkey_island/linux/create_certificate.sh @@ -17,6 +17,8 @@ if [ ! -f /tmp/foo.txt ]; then # If the file already exists, assume that the co CREATED_RND_FILE=true fi +umask 377 + echo "Generating key in $server_root/server.key..." openssl genrsa -out "$server_root"/server.key 2048 echo "Generating csr in $server_root/server.csr..."