Changeset 338:6c3ca941f836 in freeDiameter
- Timestamp:
- Jun 22, 2010, 5:22:50 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/PKI/ca_script2/Makefile
r327 r338 34 34 make newcert name=foo ca=parentca\n\ 35 35 Create private key and csr, then issue the certificate (named foo.*)\n\ 36 make ship name=foo ca=parentca\n\ 37 Create an archive with the data for the client\n\ 36 38 make revoke name=foo ca=parentca\n\ 37 39 Revokes the certificate foo.cert issued by parentca and regenerates the CRL.\n\ … … 134 136 @ln -sf ../../public/caroot.pem $(DATA_DIR)/$(ca)/clients/$(name)/ca.pem 135 137 138 # Create an archive to send the data to the client node 139 ship: 140 @if [ -z "$(name)" -o -z "$(ca)" ]; then echo "Missing parameter. Ex: make ship name=service.testbed.aaa ca=ca.testbed.aaa"; exit 1; fi 141 @if [ ! -e $(DATA_DIR)/$(ca)/private/cakey.pem ]; then echo "The parent CA $(ca) does not exist."; exit 1; fi 142 @if [ ! -e $(DATA_DIR)/$(ca)/clients/$(name)/privkey.pem ]; then echo "The client $(name) does not exist, use 'make newcert' first."; exit 1; fi 143 # Ship the data 144 @tar -c -C $(DATA_DIR)/$(ca)/clients/$(name) -z -f $(ca)_$(name).tar.gz -h . 145 @echo "The files have been packaged into archive: $(ca)_$(name).tar.gz" 146 136 147 # Revoke a certificate 137 148 revoke:
Note: See TracChangeset
for help on using the changeset viewer.