mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
genssl: use DH params length of 2048 to appease the weechat idiots
This commit is contained in:
parent
4cbed3b849
commit
5fd2dd9556
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ echo "Generating self-signed certificate .. "
|
|||
openssl req -x509 -nodes -newkey rsa:1024 -keyout "${sysconfdir}"/ssl.key -out "${sysconfdir}"/ssl.cert
|
||||
|
||||
echo "Generating Diffie-Hellman file for secure SSL/TLS negotiation .. "
|
||||
openssl dhparam -out "${sysconfdir}"/dh.pem 1024
|
||||
openssl dhparam -out "${sysconfdir}"/dh.pem 2048
|
||||
|
||||
# If sysconfdir is relative to prefix, make the path relative. I.e.,
|
||||
# prefix=/usr and sysconfdir=/etc -> relative_sysconfdir=/etc,
|
||||
|
|
Loading…
Reference in a new issue