aboutsummaryrefslogtreecommitdiffstats
path: root/certs/Makefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-01-08 21:20:00 +0100
committerKim Alvefur <zash@zash.se>2013-01-08 21:20:00 +0100
commit7855128caa40d1b681152b92e44ec5792926f69d (patch)
tree89e8049608d0d5cebf012907313f014b93ea0a06 /certs/Makefile
parent2b0081486e64248a80141d0b373da7c24d009c70 (diff)
downloadprosody-7855128caa40d1b681152b92e44ec5792926f69d.tar.gz
prosody-7855128caa40d1b681152b92e44ec5792926f69d.zip
prosodyctl, prosody.cfg.lua.dist, certs/Makefile: Use .crt as suffix for certificates everywhere (thanks jasperixla)
Diffstat (limited to 'certs/Makefile')
-rw-r--r--certs/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/certs/Makefile b/certs/Makefile
index c5e4294c..f3854c5f 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -1,4 +1,4 @@
-.DEFAULT: localhost.cert
+.DEFAULT: localhost.crt
keysize=2048
# How to:
@@ -8,7 +8,7 @@ keysize=2048
# Then `make yourhost.key` to create your private key, you can
# include keysize=number to change the size of the key.
# Then you can either `make yourhost.csr` to generate a certificate
-# signing request that you can submit to a CA, or `make yourhost.cert`
+# signing request that you can submit to a CA, or `make yourhost.crt`
# to generate a self signed certificate.
.PRECIOUS: %.cnf %.key
@@ -18,7 +18,7 @@ keysize=2048
openssl req -new -key $(lastword $^) -out $@ -utf8 -config $(firstword $^)
# Self signed
-%.cert: %.cnf %.key
+%.crt: %.cnf %.key
openssl req -new -x509 -nodes -key $(lastword $^) -days 365 \
-sha1 -out $@ -utf8 -config $(firstword $^)