From 2fb55882d733d8c1e28a49153ef6c3449ebe7998 Mon Sep 17 00:00:00 2001 From: Erg Date: Wed, 27 Nov 2024 17:45:03 +0100 Subject: Restructurisation --- client_maker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client_maker.sh') 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 -- cgit v1.2.3-65-gdbad