Commit graph

453 commits

Author SHA1 Message Date
xenolf
3f7e7fdbc8 Merge pull request #169 from xi2/gandi-use-findzonebyfqdn
Gandi DNS: use acme.FindZoneByFqdn function
2016-03-25 22:36:25 +01:00
Michael Cross
e99d2ee63f Gandi DNS: add live test 2016-03-24 23:21:35 +00:00
Michael Cross
19911dc180 Update README example section 2016-03-24 22:35:45 +00:00
Michael Cross
3d7abd9093 Gandi DNS: use acme.FindZoneByFqdn function 2016-03-24 22:23:50 +00:00
kballou
5474a0e80c Update README usage Section
The usage output seems to have drifted and was causes confusion when
attempting to use as a reference.
2016-03-24 12:55:15 -06:00
xenolf
8512faba3b Merge pull request #142 from LukeHandle/patch-dns-providers
Use zone name when talking to DNS APIs
2016-03-24 09:32:06 +01:00
xenolf
af94ecc8b4 Adjust cloudflare provider timeout values to better cope with spikes in propagation time. Fix #167 2016-03-23 23:55:15 +01:00
xenolf
a7ce32d9be Revert "Updated timeout for cloudflare dns challenge" 2016-03-23 23:49:52 +01:00
xenolf
250bb86a2b Revert "Updated timeout for cloudflare dns challenge" 2016-03-23 23:48:20 +01:00
xenolf
1ee5cbd9e8 Merge pull request #163 from rgl/master
Add DNS challenge provider for Vultr.
2016-03-23 22:44:58 +01:00
xenolf
1469abcb0c Merge pull request #168 from JorritSalverda/patch-1
Updated timeout for cloudflare dns challenge
2016-03-23 22:44:45 +01:00
Jorrit Salverda
2eb4adca59 Updated timeout for cloudflare dns challenge
Updated timeout for cloudflare dns challenge record propagation to fix issue as described in https://github.com/xenolf/lego/issues/167
2016-03-23 22:38:12 +01:00
Rui Lopes
4d7223057d Add DNS challenge provider for Vultr. 2016-03-23 20:35:23 +00:00
xenolf
735d41fbc8 Merge pull request #166 from xenolf/readme-updates
Update README and version
2016-03-23 20:23:02 +01:00
Matthew Holt
41cfcd79df Update README and version 2016-03-23 12:12:47 -06:00
xenolf
636fb51fb0 Fix PR builds 2016-03-23 05:15:26 +01:00
xenolf
5add7b28c9 Make travis not fail on PR builds 2016-03-23 05:10:47 +01:00
xenolf
c006c65436 Merge pull request #164 from xi2/unexport-gandi-endpoint
Gandi DNS: Unexport Endpoint variable
2016-03-22 01:52:26 +01:00
xenolf
53b727ada4 Add workaround for go.googlesource.com rate limit 2016-03-22 01:46:32 +01:00
Michael Cross
6c2e92dd92 Gandi DNS: Unexport Endpoint variable 2016-03-21 18:47:17 +00:00
xenolf
4d8e4d3ec1 Merge pull request #157 from beevik/dns-credential-handling
Make DNS provider credential-handling more consistent.
2016-03-21 19:15:12 +01:00
LukeHandle
20ab8300eb Use zone name when talking to DNS APIs
This should handle multiple zones more efficiently
2016-03-21 00:18:49 +00:00
Brett Vickers
47219adc00 Make DNS provider credential-handling more consistent.
Different DNS providers were handling credentials in different ways.
Some were reading credential environment variables in cli_handlers.go
and then passing them into the NewDNSProvider function, while others
were reading the environment variables within their NewDNSProvider
functions.

This change replaces each DNS challenge's NewDNSProvider function with
two new functions: (1) a NewDNSProvider function that takes no
parameters and uses the environment to read credentials, and (2) a
NewDNSProviderCredentials that takes credentials as parameters.
2016-03-20 11:40:30 -07:00
xenolf
43c55a690f Update changelog 2016-03-19 22:43:26 +01:00
xenolf
bc8cfbe0d6 Merge pull request #162 from xi2/googlecloud
googlecloud dns: Make package name match import path
2016-03-19 22:18:49 +01:00
xenolf
c1b0d4387d Merge pull request #105 from aebruno/dns-dyn
Add Dyn DNS provider
2016-03-19 22:18:25 +01:00
Andrew E. Bruno
b10c35bba1 golint fixes.
- dynRequest should be private to dyn package
- Fix JobID name
2016-03-19 16:14:23 -04:00
Michael Cross
516d2a65e1 googlecloud dns: Make package name match import path
Also, add package description
2016-03-19 18:20:01 +00:00
xenolf
cbcaa2da50 Fix namecheap test 2016-03-19 18:05:35 +01:00
xenolf
4562a14383 Fix a few golint errors. 2016-03-19 17:53:16 +01:00
xenolf
d6fb247c29 Fix typo in dns_challenge 2016-03-19 17:48:50 +01:00
xenolf
e06278fead Make DO and namecheap providers use a HTTP client with a timeout. 2016-03-19 17:47:26 +01:00
xenolf
0ba8d6993b Rename googlecloud provider files to be more in-line with the other providers. 2016-03-19 17:40:12 +01:00
Andrew E. Bruno
9f8d5e4076 Add timeout to HTTP client 2016-03-18 23:20:58 -04:00
xenolf
d77634bb2b Merge pull request #141 from peterwald/master
Add DNS challenge provider for Google Cloud DNS
2016-03-18 23:30:11 +01:00
Peter Waldschmidt
4da4506839 Add DNS challenge provider for Google Cloud DNS
Use GCE_PROJECT to designate your GCE project.

Authentication is automatically picked up from gcloud credentials if
running locally and from GCE metadata if run within Google Cloud.

Requires at least permission scope
"https://www.googleapis.com/auth/ndev.clouddns.readwrite"
2016-03-18 11:22:33 -04:00
Andrew E. Bruno
1de97a90da Move dyn provider out of acme package per #144 2016-03-17 22:30:21 -04:00
Andrew E. Bruno
b90b31980a Add Dyn DNS provider
This commit adds support for Dyn, specifically Dyn Managed DNS. Makes
use of the Dyn REST API [1] and requires 3 environment variables for
credentails:

    DYN_CUSTOMER_NAME
    DYN_USER_NAME
    DYN_PASSWORD

The Dyn DNS API requires a session to be established first using the
credentials above, After creating a session an api token is used for
subsequent requests.

The unit test performs a "live test" and currently requires a valid Dyn
account and domain.

[1] https://help.dyn.com/rest/
2016-03-17 22:08:00 -04:00
xenolf
9ba0eda945 Add go 1.6 to travis tests 2016-03-18 02:44:16 +01:00
xenolf
7ca253d0dc Merge pull request #155 from beevik/cleanup-help
Add a separate 'dnshelp' command.
2016-03-18 02:05:40 +01:00
Brett Vickers
855dff01da Add a separate 'dnshelp' command.
Move the DNS provider (--dns) help to a separate command and elaborate on its usage by providing an example.
This should reduce clutter in the the help system's usage text.
2016-03-17 17:32:24 -07:00
xenolf
19d96bab0b Merge pull request #153 from beevik/namecheap
Add DNS challenge provider for namecheap.
2016-03-18 01:12:18 +01:00
Brett Vickers
55968bcd21 Add DNS challenge provider for namecheap. 2016-03-17 14:17:56 -07:00
xenolf
8c3023d198 Merge pull request #133 from xi2/gandi-dns-challenge-provider
Add Gandi DNS challenge provider
2016-03-17 16:07:41 +01:00
xenolf
faed8af4f2 Merge pull request #148 from xi2/challenge-provider-custom-timeout
Add ChallengeProviderTimeout type to acme package
2016-03-17 13:34:37 +01:00
Michael Cross
bcd4e51d65 Add Gandi DNS challenge provider 2016-03-16 18:32:56 +00:00
Michael Cross
8aa797f49d Add ChallengeProviderTimeout type to acme package
This type allows for implementing DNS ChallengeProviders that require
an unsually long timeout when checking for record propagation.
2016-03-16 18:17:03 +00:00
xenolf
f00bb8b4bb Merge pull request #154 from xi2/improve-challengeprovider-comment
Improve wording of ChallengeProvider comment
2016-03-16 16:00:47 +01:00
xenolf
118d9d5ec9 Adjust naming of webroot provider to be in line with DNS providers. 2016-03-16 11:32:09 +01:00
xenolf
325db78c91 Merge pull request #118 from adriencarbonne/master
Added a --webroot option for HTTP challenge
2016-03-16 11:09:38 +01:00