summaryrefslogtreecommitdiff
path: root/client_maker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'client_maker.sh')
-rwxr-xr-xclient_maker.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/client_maker.sh b/client_maker.sh
index 983bf1a..67dfa98 100755
--- a/client_maker.sh
+++ b/client_maker.sh
@@ -6,7 +6,7 @@
# The script WILL NOT DELETE ANYTHING - it just renames any certs dir that it finds
# You will probably need to change this for your system
-mosquitto_dir="/etc/mosquitto"
+mosquitto_dir="/home/erg/cert_test"
# Note: Pico W can use EC or RSA keys only, not EC25519, and Tasmota can only use 2048 bit RSA keys.
@@ -47,7 +47,7 @@ fi
algorithm="-algorithm ${key_type}"
# Set the specific pkeyopt for the chosen algorithm (BLANK for ED25519)
-if [ "${key_type}" == "EC" ]; then
+if [ "${key_type}" == "EC" ]; then
echo 'Create EC Key'
pkeyopt="-pkeyopt ec_paramgen_curve:${curve}"
elif [ "${key_type}" == "RSA" ]; then
@@ -56,7 +56,7 @@ elif [ "${key_type}" == "RSA" ]; then
elif [ "${key_type}" == "ED25519" ]; then
echo 'Create ED25519 Key'
pkeyopt=""
-else
+else
echo 'Key Type not found'
fi