aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-05 00:28:30 +0100
committerKim Alvefur <zash@zash.se>2016-11-05 00:28:30 +0100
commitbeb642888ec3e3c27d96f6e4cf969033b8495d8e (patch)
treeead046279a47ea5984c334f0c6500d85f5970dc8 /certs
parent02a841a72eb0e02a1f5091d0a23e10bf78ee368c (diff)
parent500d7efbf490f85cb88449f6e28bc8b4162bea14 (diff)
downloadprosody-beb642888ec3e3c27d96f6e4cf969033b8495d8e.tar.gz
prosody-beb642888ec3e3c27d96f6e4cf969033b8495d8e.zip
Merge 0.10->trunk
Diffstat (limited to 'certs')
-rw-r--r--certs/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/certs/Makefile b/certs/Makefile
index b3011a89..fd4a2932 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -22,7 +22,7 @@ keysize=2048
umask 0077 && touch $*.key
openssl req -new -newkey rsa:$(keysize) -nodes -keyout $*.key \
-sha256 -utf8 -config $^ -out $@
- @chmod 400 $*.key -c
+ @chmod 400 $*.key
%.csr: %.key
openssl req -new -key $^ -utf8 -subj /CN=$* -out $@
@@ -31,7 +31,7 @@ keysize=2048
umask 0077 && touch $*.key
openssl req -new -newkey rsa:$(keysize) -nodes -keyout $*.key \
-utf8 -subj /CN=$* -out $@
- @chmod 400 $*.key -c
+ @chmod 400 $*.key
# Self signed
%.crt: %.cnf %.key
@@ -42,7 +42,7 @@ keysize=2048
umask 0077 && touch $*.key
openssl req -new -x509 -newkey rsa:$(keysize) -nodes -keyout $*.key \
-days 365 -sha256 -utf8 -config $(firstword $^) -out $@
- @chmod 400 $*.key -c
+ @chmod 400 $*.key
%.crt: %.key
openssl req -new -x509 -key $^ -days 365 -sha256 -utf8 -subj /CN=$* -out $@
@@ -51,7 +51,7 @@ keysize=2048
umask 0077 && touch $*.key
openssl req -new -x509 -newkey rsa:$(keysize) -nodes -keyout $*.key \
-days 365 -sha256 -out $@ -utf8 -subj /CN=$*
- @chmod 400 $*.key -c
+ @chmod 400 $*.key
# Generate a config from the example
%.cnf:
@@ -59,7 +59,7 @@ keysize=2048
%.key:
umask 0077 && openssl genrsa -out $@ $(keysize)
- @chmod 400 $@ -c
+ @chmod 400 $@
# Generate Diffie-Hellman parameters
dh-%.pem: