diff --git a/.functions/unifi.sh b/.functions/unifi.sh index 6311d62..aab3558 100644 --- a/.functions/unifi.sh +++ b/.functions/unifi.sh @@ -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} \