Software /
code /
prosody
Diff
certs/Makefile @ 5293:fe9215155453
prosodyctl, prosody.cfg.lua.dist, certs/Makefile: Use .crt as suffix for certificates everywhere (thanks jasperixla)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 08 Jan 2013 21:20:00 +0100 |
parent | 3714:f18515d2d10b |
child | 7028:7d0ce5e6a6d3 |
child | 7030:b5bc9f77f096 |
line wrap: on
line diff
--- a/certs/Makefile Tue Jan 08 13:33:35 2013 +0100 +++ b/certs/Makefile Tue Jan 08 21:20:00 2013 +0100 @@ -1,4 +1,4 @@ -.DEFAULT: localhost.cert +.DEFAULT: localhost.crt keysize=2048 # How to: @@ -8,7 +8,7 @@ # 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 @@ 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 $^)