RSA keys with length of 1024 bits are considered weak.
new)
if [ ! -f /etc/httpd/server.key ]; then
echo "Generating https server key."
new)
if [ ! -f /etc/httpd/server.key ]; then
echo "Generating https server key."
- /usr/bin/openssl genrsa -out /etc/httpd/server.key 1024
+ /usr/bin/openssl genrsa -out /etc/httpd/server.key 4096
fi
echo "Generating CSR"
/bin/cat /etc/certparams | sed "s/HOSTNAME/`hostname -f`/" | /usr/bin/openssl \
fi
echo "Generating CSR"
/bin/cat /etc/certparams | sed "s/HOSTNAME/`hostname -f`/" | /usr/bin/openssl \