Diff

certs/Makefile @ 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
parent 7035:085a286e2873
child 7714:dedd2098267c
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 $@ $*