added delete alias
This commit is contained in:
parent
84a8aa1ed5
commit
03b52c9e7f
@ -21,6 +21,7 @@ function unifi_update_cert(){
|
||||
-inkey ${PRIV_KEY} \
|
||||
-out ${P12_TEMP} -passout pass:${PASSWORD} \
|
||||
-name ${ALIAS}"
|
||||
kubectl -n "$NAMESPACE" exec -it "$POD" -- bash -c "keytool -delete -alias ${ALIAS} -keystore ${KEYSTORE} -deststorepass ${PASSWORD}"
|
||||
kubectl -n "$NAMESPACE" exec -it "$POD" -- bash -c "keytool -importkeystore \
|
||||
-srckeystore ${P12_TEMP} -srcstoretype PKCS12 \
|
||||
-srcstorepass ${PASSWORD} \
|
||||
|
Loading…
Reference in New Issue
Block a user