Skip to content

Commit

Permalink
Merge branch 'master' of github.com:srvrco/getssl
Browse files Browse the repository at this point in the history
  • Loading branch information
timkimber committed May 14, 2023
2 parents 31a3237 + e94776d commit a3a26cb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# getssl <!-- omit in toc -->

![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.
Expand Down
7 changes: 7 additions & 0 deletions dns_scripts/dns_add_dnsmasq
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions dns_scripts/dns_del_dnsmasq
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a3a26cb

Please sign in to comment.