Commit 45fa9ece authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

main/apache2: adjust genrsa options

increase key length to 2048 bits
remove 'rand' option (not supported by libressl)
parent f4c7e289
......@@ -3,7 +3,7 @@
pkgname=apache2
_pkgreal=httpd
pkgver=2.4.23
pkgrel=6
pkgrel=7
pkgdesc="A high performance Unix-based HTTP server"
url="http://httpd.apache.org/"
arch="all"
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment