From 104b2df98a70e6aa94e3697419e46f63ed7b749f Mon Sep 17 00:00:00 2001 From: Andreas Bohne-Lang Date: Fri, 5 May 2023 18:08:41 +0200 Subject: [PATCH 1/3] Create dns_add_dnsmasq Add _acme-challenge for dnsmasq - a lightweight DHCP and caching DNS server --- dns_scripts/dns_add_dnsmasq | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dns_scripts/dns_add_dnsmasq diff --git a/dns_scripts/dns_add_dnsmasq b/dns_scripts/dns_add_dnsmasq new file mode 100644 index 0000000..596f101 --- /dev/null +++ b/dns_scripts/dns_add_dnsmasq @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# Make sure you enable in the /etc/dnsmasq.conf this line conf-dir=/etc/dnsmasq.d/,*.conf + +echo "txt-record=_acme-challenge.\${1},\$2" > /etc/dnsmasq.d/acme-challenge.conf + +systemctl restart dnsmasq From e1be762a2a8de8d88513da5aa2819dda6b9c9870 Mon Sep 17 00:00:00 2001 From: Andreas Bohne-Lang Date: Fri, 5 May 2023 18:10:14 +0200 Subject: [PATCH 2/3] Create dns_del_dnsmasq Delete _acme-challenge for dnsmasq - a lightweight DHCP and caching DNS server --- dns_scripts/dns_del_dnsmasq | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dns_scripts/dns_del_dnsmasq diff --git a/dns_scripts/dns_del_dnsmasq b/dns_scripts/dns_del_dnsmasq new file mode 100644 index 0000000..771aaec --- /dev/null +++ b/dns_scripts/dns_del_dnsmasq @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# Make sure you enable in the /etc/dnsmasq.conf this line conf-dir=/etc/dnsmasq.d/,*.conf + +echo "" > /etc/dnsmasq.d/acme-challenge.conf + +systemctl restart dnsmasq From e94776d5ba50abcf723f2b76e9bd8e83f5559428 Mon Sep 17 00:00:00 2001 From: Tim Kimber Date: Sun, 14 May 2023 13:22:57 +0100 Subject: [PATCH 3/3] Fix test status link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e89ea4..a356a0d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # getssl -![Run all tests](https://github.com/srvrco/getssl/workflows/Run%20all%20tests/badge.svg) ![shellcheck](https://github.com/srvrco/getssl/workflows/shellcheck/badge.svg) +![Run all tests on Pebble](https://github.com/srvrco/getssl/actions/workflows/run-tests-pebble.yml/badge.svg) ![shellcheck](https://github.com/srvrco/getssl/workflows/shellcheck/badge.svg) Obtain SSL certificates from the letsencrypt.org ACME server. Suitable for automating the process on remote servers.