diff options
Diffstat (limited to 'main/apache2/apache2-ssl.post-install')
-rw-r--r-- | main/apache2/apache2-ssl.post-install | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/apache2/apache2-ssl.post-install b/main/apache2/apache2-ssl.post-install index d73b5fc622..1e8478a8d4 100644 --- a/main/apache2/apache2-ssl.post-install +++ b/main/apache2/apache2-ssl.post-install @@ -6,9 +6,7 @@ sslcert=$ssldir/server.pem umask 077 -if [ ! -f ${sslkey} ] ; then - openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > ${sslkey} 2> /dev/null -fi +[ -f $sslkey ] || openssl genrsa 2048 > $sslkey 2>/dev/null FQDN=`hostname -f` if [ "x${FQDN}" = "x" ]; then |