aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-25 15:36:12 +0100
committerKim Alvefur <zash@zash.se>2016-02-25 15:36:12 +0100
commit05db1004dc198727112080224c97cb586760ab1d (patch)
tree18bcbb8736d6073bdcd9b8dd5d2f27e31ddefe13
parent50918d981e416cfcd56d680dae6defb84ae9a27d (diff)
downloadprosody-05db1004dc198727112080224c97cb586760ab1d.tar.gz
prosody-05db1004dc198727112080224c97cb586760ab1d.zip
certs/Makefile: Add target for generating DH params
-rw-r--r--certs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/certs/Makefile b/certs/Makefile
index 96361748..b3011a89 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -60,3 +60,7 @@ keysize=2048
%.key:
umask 0077 && openssl genrsa -out $@ $(keysize)
@chmod 400 $@ -c
+
+# Generate Diffie-Hellman parameters
+dh-%.pem:
+ openssl dhparam -out $@ $*