Software /
code /
prosody
Diff
certs/Makefile @ 5303:19a4a3462574
Merge 0.9->trunk
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 22 Jan 2013 08:30:38 +0500 |
parent | 5293:fe9215155453 |
child | 7028:7d0ce5e6a6d3 |
child | 7030:b5bc9f77f096 |
line wrap: on
line diff
--- a/certs/Makefile Sat Dec 29 19:13:42 2012 +0100 +++ b/certs/Makefile Tue Jan 22 08:30:38 2013 +0500 @@ -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 $^)