Skip to content

Commit

Permalink
[dist] fix apache start in opensuse 15.4
Browse files Browse the repository at this point in the history
in 15.4 apache rejects to start with the error message

"AH00016: Configuration Failed"

in the error log if the rsa key has only 1024 bit
  • Loading branch information
M0ses committed Jan 19, 2022
1 parent d9e2197 commit b57e8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/functions.setup-appliance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ function check_server_key {
if [ ! -e $backenddir/certs/server.key ]; then
logline "Creating $backenddir/certs/server.key"
install -d -m 0700 $backenddir/certs
openssl genrsa -out $backenddir/certs/server.key 1024 2>/dev/null
openssl genrsa -out $backenddir/certs/server.key 2048 2>/dev/null
else
logline "Found $backenddir/certs/server.key"
fi
Expand Down

0 comments on commit b57e8fc

Please sign in to comment.