Browse Source

Fix Le_Keylength case

dnsconf
andrewheberle 7 years ago
committed by GitHub
parent
commit
733b4e0a34
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      deploy/haproxy.sh

8
deploy/haproxy.sh

@ -113,11 +113,11 @@ haproxy_deploy() {
# Set the suffix depending if we are creating a bundle or not # Set the suffix depending if we are creating a bundle or not
if [ "${Le_Deploy_haproxy_bundle}" = "yes" ]; then if [ "${Le_Deploy_haproxy_bundle}" = "yes" ]; then
_info "Bundle creation requested" _info "Bundle creation requested"
# Initialise $Le_KeyLength if its not already set
if [ -z "${Le_KeyLength}" ]; then
Le_KeyLength=""
# Initialise $Le_Keylength if its not already set
if [ -z "${Le_Keylength}" ]; then
Le_Keylength=""
fi fi
if _isEccKey "${Le_KeyLength}"; then
if _isEccKey "${Le_Keylength}"; then
_info "ECC key type so set suffix to .ecc" _info "ECC key type so set suffix to .ecc"
_suffix=".ecc" _suffix=".ecc"
else else

Loading…
Cancel
Save