From 00d0b9b8031869fdc57e086da6ef6ccbc76e6dcd Mon Sep 17 00:00:00 2001 From: Bruno Zell Date: Fri, 28 Sep 2018 15:50:12 +0200 Subject: [PATCH] remove register.sh --- src/scripts/register.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/scripts/register.sh diff --git a/src/scripts/register.sh b/src/scripts/register.sh deleted file mode 100644 index 61ab856..0000000 --- a/src/scripts/register.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -PRODUCTION_URL='https://acme-v01.api.letsencrypt.org/directory' -STAGING_URL='https://acme-staging.api.letsencrypt.org/directory' - -if [ "${IS_STAGING}" = "1" ]; then - letsencrypt_url=$STAGING_URL - echo "Staging ..." -else - letsencrypt_url=$PRODUCTION_URL - echo "Production ..." -fi - -echo "running certbot ... $letsencrypt_url $1 $2" -certbot certonly --agree-tos --keep -n --text --email $2 --server \ - $letsencrypt_url -d $1 --http-01-port 1337 \ - --standalone --preferred-challenges http-01 --debug