Skip to content
Snippets Groups Projects
Commit 45fa9ece authored by Kaarle Ritvanen's avatar Kaarle Ritvanen
Browse files

main/apache2: adjust genrsa options

increase key length to 2048 bits
remove 'rand' option (not supported by libressl)
parent f4c7e289
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
pkgname=apache2 pkgname=apache2
_pkgreal=httpd _pkgreal=httpd
pkgver=2.4.23 pkgver=2.4.23
pkgrel=6 pkgrel=7
pkgdesc="A high performance Unix-based HTTP server" pkgdesc="A high performance Unix-based HTTP server"
url="http://httpd.apache.org/" url="http://httpd.apache.org/"
arch="all" arch="all"
......
...@@ -6,9 +6,7 @@ sslcert=$ssldir/server.pem ...@@ -6,9 +6,7 @@ sslcert=$ssldir/server.pem
umask 077 umask 077
if [ ! -f ${sslkey} ] ; then [ -f $sslkey ] || openssl genrsa 2048 > $sslkey 2>/dev/null
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
FQDN=`hostname -f` FQDN=`hostname -f`
if [ "x${FQDN}" = "x" ]; then if [ "x${FQDN}" = "x" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment