Bugfix on overwriting domain variable
This commit is contained in:
parent
385a96a23b
commit
9e530c61c7
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
########################################
|
||||
# Author: F. Bischof (frank@meer-web.nl)
|
||||
# Version: 1.4.2
|
||||
# Date: 12-01-2022
|
||||
# Version: 1.4.3
|
||||
# Date: 09-05-2023
|
||||
########################################
|
||||
ENCRYPTION="sha256"
|
||||
BITS="rsa:2048"
|
||||
@ -115,10 +115,11 @@ if [ "$1" == '' ]
|
||||
then
|
||||
echo -en "Domain: "
|
||||
read DOMAIN
|
||||
fi
|
||||
|
||||
else
|
||||
DOMAIN=$1
|
||||
CONFIG_FILE=$2
|
||||
fi
|
||||
|
||||
# Show options menu
|
||||
echo "1. Create self signed certificate"
|
||||
echo "2. Create CSR";
|
||||
|
Loading…
Reference in New Issue
Block a user