]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use 'openssl dhparam' to create DH-params 1842/head
authorHerwin Weststrate <herwin@snt.utwente.nl>
Sat, 12 Nov 2016 15:13:50 +0000 (16:13 +0100)
committerHerwin Weststrate <herwin@snt.utwente.nl>
Mon, 14 Nov 2016 08:18:29 +0000 (09:18 +0100)
'openssl gendh' is removed in newer version of OpenSSL, and using
dhparam appears to work since at least release 0.9.8

raddb/certs/Makefile

index 41c5b51b098b04b3e1a6501a34585d4d6551b68d..202e4dba6d994929efa579aa2522a97209220a71 100644 (file)
@@ -53,7 +53,7 @@ passwords.mk: server.cnf ca.cnf client.cnf ocsp.cnf
 #
 ######################################################################
 dh:
-       openssl gendh -out dh -2 $(DH_KEY_SIZE)
+       openssl dhparam -outform PEM -out dh -2 $(DH_KEY_SIZE)
 
 ######################################################################
 #