Bugfix on overwriting domain variable

This commit is contained in:
Frank Bischof 2023-05-09 11:47:52 +02:00
parent 385a96a23b
commit 9e530c61c7

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
######################################## ########################################
# Author: F. Bischof (frank@meer-web.nl) # Author: F. Bischof (frank@meer-web.nl)
# Version: 1.4.2 # Version: 1.4.3
# Date: 12-01-2022 # Date: 09-05-2023
######################################## ########################################
ENCRYPTION="sha256" ENCRYPTION="sha256"
BITS="rsa:2048" BITS="rsa:2048"
@ -115,10 +115,11 @@ if [ "$1" == '' ]
then then
echo -en "Domain: " echo -en "Domain: "
read DOMAIN read DOMAIN
fi else
DOMAIN=$1 DOMAIN=$1
CONFIG_FILE=$2 CONFIG_FILE=$2
fi
# Show options menu # Show options menu
echo "1. Create self signed certificate" echo "1. Create self signed certificate"
echo "2. Create CSR"; echo "2. Create CSR";