changed default filenames
This commit is contained in:
@@ -149,8 +149,8 @@ fi
|
|||||||
# Example:
|
# Example:
|
||||||
get_input "HOST_NAME" "Enter Hostname" "$(hostname)" "false"
|
get_input "HOST_NAME" "Enter Hostname" "$(hostname)" "false"
|
||||||
get_input "CERT_DIR" "Enter directory for certificates" "/var/lib/ssl" "false"
|
get_input "CERT_DIR" "Enter directory for certificates" "/var/lib/ssl" "false"
|
||||||
get_input "CERT_LOCATION" "Enter specific path for cert" "${CERT_DIR}/${HOSTNAME}.crt" "false"
|
get_input "CERT_LOCATION" "Enter specific path for cert" "${CERT_DIR}/cert.pem" "false"
|
||||||
get_input "KEY_LOCATION" "Enter specific path for private key" "${CERT_DIR}/${HOSTNAME}.key" "false"
|
get_input "KEY_LOCATION" "Enter specific path for private key" "${CERT_DIR}/key.pem" "false"
|
||||||
|
|
||||||
export CERT_LOCATION=$(readlink -f $CERT_LOCATION)
|
export CERT_LOCATION=$(readlink -f $CERT_LOCATION)
|
||||||
export KEY_LOCATION=$(readlink -f $KEY_LOCATION)
|
export KEY_LOCATION=$(readlink -f $KEY_LOCATION)
|
||||||
|
|||||||
Reference in New Issue
Block a user