19,6 → 19,7 |
OPT_PARAMS="" |
ACMESH_HOME="/usr/local/etc/letsencrypt" |
ACMESH_BIN="/opt/acme.sh/acme.sh" |
LE_SERVER="letsencrypt" |
|
usage="Usage: alcasar-letsencrypt.sh |
--issue -d alcasar.domain.tld --email alcasar@domain.tld [--dns-api dns_registrar] [--force] [--staging] |
47,6 → 48,7 |
$emailField \ |
--issue --dns $dnsApiOpt -d $DOMAIN \ |
$OPT_PARAMS \ |
--server $LE_SERVER \ |
> $TMP_OUTPUT 2>&1 |
exitCode=$? |
$DEBUG && cat $TMP_OUTPUT && echo -e "\n\n" |
82,6 → 84,7 |
$STAGING_SERVER $FORCE $debugOpt \ |
--renew -d $DOMAIN $dnsApiOpt \ |
$OPT_PARAMS \ |
--server $LE_SERVER \ |
> $TMP_OUTPUT 2>&1 |
exitCode=$? |
$DEBUG && cat $TMP_OUTPUT && echo -e "\n\n" |