generate certs for *.local-ip.sh

This commit is contained in:
m5r 2022-11-06 19:30:15 +01:00
parent c9fa805523
commit d690b18c12
No known key found for this signature in database
GPG Key ID: 5BC847276DD5DDEA
3 changed files with 17 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
# build output .lego/accounts/acme-v02.api.letsencrypt.org/*/keys
local-ip.sh .lego/certificates

View File

@ -0,0 +1,12 @@
{
"email": "admin@local-ip.sh",
"registration": {
"body": {
"status": "valid",
"contact": [
"mailto:admin@local-ip.sh"
]
},
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/801840592"
}
}

View File

@ -90,6 +90,9 @@ var (
CNAME: []*dns.CNAME{ CNAME: []*dns.CNAME{
{Target: "local-ip.sh.n2kl11.flydns.net."}, {Target: "local-ip.sh.n2kl11.flydns.net."},
}, },
/* TXT: &dns.TXT{
Txt: []string{"Gu1FvnTHYuf0qWclc903w8JPDJajHE510AweTP2PkhE"},
}, */
}, },
} }
) )