summaryrefslogtreecommitdiff
path: root/contrib/PKI
diff options
context:
space:
mode:
authorSukchan Lee <acetcom@gmail.com>2021-03-21 13:14:26 +0900
committerSukchan Lee <acetcom@gmail.com>2021-03-21 13:14:26 +0900
commit32d46d3f43485e171b1e28117d0db049dfc829b0 (patch)
treeb3506d614932f50730e023391600287676ac0c08 /contrib/PKI
parente07f3955e6d0f59f272fd21d3b21a5e2eac17426 (diff)
Release freeDiameter v1.5.0main
Diffstat (limited to 'contrib/PKI')
-rw-r--r--contrib/PKI/ca_script2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/PKI/ca_script2/Makefile b/contrib/PKI/ca_script2/Makefile
index 845176e..c40ea1e 100644
--- a/contrib/PKI/ca_script2/Makefile
+++ b/contrib/PKI/ca_script2/Makefile
@@ -25,7 +25,7 @@ all: help
# Help message
help:
- @echo "\n\
+ @printf -- "\n\
Available commands:\n\
make init topca=name\n\
Creates the initial top-level CA structure\n\
@@ -172,7 +172,7 @@ gencrl:
@if [ -z "$(ca)" ]; then echo "Missing parameter. Ex: make gencrl ca=ca.testbed.aaa"; exit 1; fi
# Create the CRL
@CA_ROOT_DIR=$(DATA_DIR)/$(ca) openssl ca $(CONFIG) -gencrl -out $(DATA_DIR)/$(ca)/public/crl/$(ca).pem
- @ln -s crl/$(ca).pem $(DATA_DIR)/$(ca)/public/local.pem
- @ln -s local.pem $(DATA_DIR)/$(ca)/public/`openssl crl -noout -hash < $(DATA_DIR)/$(ca)/public/crl/$(ca).pem`.r0
+ @ln -f -s crl/$(ca).pem $(DATA_DIR)/$(ca)/public/local.pem
+ @ln -f -s local.pem $(DATA_DIR)/$(ca)/public/`openssl crl -noout -hash < $(DATA_DIR)/$(ca)/public/crl/$(ca).pem`.r0
# End of file...