mirror of
https://github.com/mtan93/unifi-linux-utils.git
synced 2026-03-08 05:31:58 +00:00
Attempting to solve Keystore Error.
This commit is contained in:
@@ -160,12 +160,13 @@ keytool -delete -alias ${ALIAS} -keystore ${KEYSTORE} -deststorepass ${PASSWORD}
|
|||||||
# Import the temp PKCS12 file into the UniFi keystore
|
# Import the temp PKCS12 file into the UniFi keystore
|
||||||
printf "\nImporting SSL certificate into UniFi keystore...\n"
|
printf "\nImporting SSL certificate into UniFi keystore...\n"
|
||||||
keytool -importkeystore \
|
keytool -importkeystore \
|
||||||
-srckeystore ${P12_TEMP} -srcstoretype PKCS12 \
|
|
||||||
-srcstorepass ${PASSWORD} \
|
|
||||||
-destkeystore ${KEYSTORE} \
|
-destkeystore ${KEYSTORE} \
|
||||||
-deststorepass ${PASSWORD} \
|
-deststorepass ${PASSWORD} \
|
||||||
-destkeypass ${PASSWORD} \
|
-destkeypass ${PASSWORD} \
|
||||||
-alias ${ALIAS} -trustcacerts
|
-srckeystore ${P12_TEMP} -srcstoretype PKCS12 \
|
||||||
|
-srcstorepass ${PASSWORD} \
|
||||||
|
-noprompt \
|
||||||
|
-deststoretype pkcs12 \
|
||||||
|
|
||||||
# Import the certificate authority data into the UniFi keystore
|
# Import the certificate authority data into the UniFi keystore
|
||||||
printf "\nImporting certificate authority into UniFi keystore...\n\n"
|
printf "\nImporting certificate authority into UniFi keystore...\n\n"
|
||||||
Reference in New Issue
Block a user