aboutsummaryrefslogtreecommitdiffstats
path: root/certs/Makefile
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
commit14ddd031ce06a21be7aae239b95cb393b3fb7f10 (patch)
tree18bcbb8736d6073bdcd9b8dd5d2f27e31ddefe13 /certs/Makefile
parent8ab7986edb7a479ff085ce83528de4a587eb5a0c (diff)
downloadprosody-14ddd031ce06a21be7aae239b95cb393b3fb7f10.tar.gz
prosody-14ddd031ce06a21be7aae239b95cb393b3fb7f10.zip
certs/Makefile: Add target for generating DH params
Diffstat (limited to 'certs/Makefile')
-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 $@ $*