|
@ -103,7 +103,7 @@ unifi_deploy() { |
|
|
|
|
|
|
|
|
_debug "Generate import pkcs12" |
|
|
_debug "Generate import pkcs12" |
|
|
_import_pkcs12="$(_mktemp)" |
|
|
_import_pkcs12="$(_mktemp)" |
|
|
_debug "_toPkcs $_import_pkcs12 $_ckey $_ccert $_cca $_unifi_keypass unifi root" |
|
|
|
|
|
|
|
|
_debug "_toPkcs $_import_pkcs12 $_ckey $_ccert $_cca $_unifi_keypass unifi root" |
|
|
_toPkcs "$_import_pkcs12" "$_ckey" "$_ccert" "$_cca" "$_unifi_keypass" unifi root |
|
|
_toPkcs "$_import_pkcs12" "$_ckey" "$_ccert" "$_cca" "$_unifi_keypass" unifi root |
|
|
# shellcheck disable=SC2181 |
|
|
# shellcheck disable=SC2181 |
|
|
if [ "$?" != "0" ]; then |
|
|
if [ "$?" != "0" ]; then |
|
|