Browse Source

Merge branch 'master' of github.com:srvrco/getssl

pull/811/head
Tim Kimber 3 years ago
parent
commit
a3a26cb13c
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
3 changed files with 15 additions and 1 deletions
  1. +1
    -1
      README.md
  2. +7
    -0
      dns_scripts/dns_add_dnsmasq
  3. +7
    -0
      dns_scripts/dns_del_dnsmasq

+ 1
- 1
README.md View File

@ -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.


+ 7
- 0
dns_scripts/dns_add_dnsmasq View File

@ -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
- 0
dns_scripts/dns_del_dnsmasq View File

@ -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

Loading…
Cancel
Save