Bugfix on overwriting domain variable
This commit is contained in:
parent
385a96a23b
commit
9e530c61c7
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user