Changeset

7194:1c55403d06c4

certs/Makefile: Add target for generating DH params
author Kim Alvefur <zash@zash.se>
date Thu, 25 Feb 2016 15:36:12 +0100
parents 7193:1c0104a56321
children 7195:39b7ea9141c0 7196:94ec474debf5
files certs/Makefile
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/certs/Makefile	Thu Feb 25 15:35:44 2016 +0100
+++ b/certs/Makefile	Thu Feb 25 15:36:12 2016 +0100
@@ -60,3 +60,7 @@
 %.key:
 	umask 0077 && openssl genrsa -out $@ $(keysize)
 	@chmod 400 $@ -c
+
+# Generate Diffie-Hellman parameters
+dh-%.pem:
+	openssl dhparam -out $@ $*