Skip to content

weppos/letsencrypt-dnsimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages