Skip to content

Commit 5d869d9

Browse files
committed
Make le staging condition hestia conform.
1 parent f04180f commit 5d869d9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
88

99
### Bugfixes
1010
- Add a detection of web root for add .well-known acme challenge.
11+
- Rework Let's Encrypt acme staging to use hestia conform standard.
1112

1213
## [1.0.4] - 2019-07-09 - Hotfix
1314
### Bugfixes

bin/v-add-letsencrypt-domain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ source $HESTIA/conf/hestia.conf
2323
# LE API
2424
LE_API='https://acme-v02.api.letsencrypt.org'
2525

26-
if [[ "$LE_STAGING" =~ ^(YES|TRUE)$ ]]; then
26+
if [[ "$LE_STAGING" = 'yes' ]]; then
2727
LE_API='https://acme-staging-v02.api.letsencrypt.org'
2828
fi
2929

bin/v-add-letsencrypt-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ source $HESTIA/conf/hestia.conf
1919
# LE API
2020
LE_API='https://acme-v02.api.letsencrypt.org'
2121

22-
if [[ "$LE_STAGING" =~ ^(YES|TRUE)$ ]]; then
22+
if [[ "$LE_STAGING" = 'yes' ]]; then
2323
LE_API='https://acme-staging-v02.api.letsencrypt.org'
2424
fi
2525

0 commit comments

Comments
 (0)