Software /
code /
prosody
Comparison
certs/Makefile @ 3825:8cc803294fc4
certs/Makefile: Add .PRECIOUS to stop make deleting the key as an intermediate file (thanks deryni/Zash)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 06 Dec 2010 18:48:23 +0000 |
parent | 3824:d02bb4839ac4 |
child | 3714:f18515d2d10b |
comparison
equal
deleted
inserted
replaced
3824:d02bb4839ac4 | 3825:8cc803294fc4 |
---|---|
8 # Then `make yourhost.key` to create your private key, you can | 8 # Then `make yourhost.key` to create your private key, you can |
9 # include keysize=number to change the size of the key. | 9 # include keysize=number to change the size of the key. |
10 # Then you can either `make yourhost.csr` to generate a certificate | 10 # Then you can either `make yourhost.csr` to generate a certificate |
11 # signing request that you can submit to a CA, or `make yourhost.cert` | 11 # signing request that you can submit to a CA, or `make yourhost.cert` |
12 # to generate a self signed certificate. | 12 # to generate a self signed certificate. |
13 | |
14 .PRECIOUS: %.cnf %.key | |
13 | 15 |
14 # To request a cert | 16 # To request a cert |
15 %.csr: %.cnf %.key | 17 %.csr: %.cnf %.key |
16 openssl req -new -key $(lastword $^) -out $@ -utf8 -config $(firstword $^) | 18 openssl req -new -key $(lastword $^) -out $@ -utf8 -config $(firstword $^) |
17 | 19 |