No description, website, or topics provided.
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
main.go

README.md

letsencrypt-dnsimple

This is a super-simple Go script to request an SSL certificate via Let's Encrypt for a domain hosted at DNSimple.

Usage

DNSimple environment variables

export DNSIMPLE_EMAIL="dnsimple@example.com"
export DNSIMPLE_API_TOKEN="1234567890"
$ go run main.go \
        --email example@example.com
        domain1,domain2,domainN

Explicit DNSimple parameters

$ go run main.go \
        --email example@example.com
        --user "dnsimple@example.com" \
        --api-key "1234567890" \
         domain1,domain2,domainN

Example

$ go run main.go \
        --email example@example.com
        --user "dnsimple@example.com" \
        --api-key "1234567890" \
        simonecarletti.com,www.simonecarletti.com

TODO

  • Load credentials from .data when the email matches