Skip to content

Commit a3a26cb

Browse files
committed
Merge branch 'master' of github.com:srvrco/getssl
2 parents 31a3237 + e94776d commit a3a26cb

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# getssl <!-- omit in toc -->
22

3-
![Run all tests](https://github.com/srvrco/getssl/workflows/Run%20all%20tests/badge.svg) ![shellcheck](https://github.com/srvrco/getssl/workflows/shellcheck/badge.svg)
3+
![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)
44

55
Obtain SSL certificates from the letsencrypt.org ACME server. Suitable
66
for automating the process on remote servers.

dns_scripts/dns_add_dnsmasq

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
# Make sure you enable in the /etc/dnsmasq.conf this line conf-dir=/etc/dnsmasq.d/,*.conf
4+
5+
echo "txt-record=_acme-challenge.\${1},\$2" > /etc/dnsmasq.d/acme-challenge.conf
6+
7+
systemctl restart dnsmasq

dns_scripts/dns_del_dnsmasq

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
# Make sure you enable in the /etc/dnsmasq.conf this line conf-dir=/etc/dnsmasq.d/,*.conf
4+
5+
echo "" > /etc/dnsmasq.d/acme-challenge.conf
6+
7+
systemctl restart dnsmasq

0 commit comments

Comments
 (0)