Christian Koep
94509ee581
Add Dockerfile
...
This enables users to build, ship and run lego with Docker.
2016-04-07 22:15:55 +02:00
xenolf
157111fd1d
Merge pull request #182 from fd0/handle-non-json-response
...
Only try to parse JSON documents
2016-04-05 22:22:36 +02:00
Alexander Neumann
ec667a7ed1
Only try to parse JSON documents
...
This patch adds code to only parse the HTTP response body as JSON if the
content-type header advertises the content as JSON. In my case, the
directory server was unavailable: it returned a 503 HTTP response code
with an HTML document, and the only thing lego reported was:
2016/04/04 19:12:56 Could not create client: get directory at 'https://acme-v01.api.letsencrypt.org/directory ': invalid character '<' looking for beginning of value
This was caused by trying to parse the document body (HTML) as JSON,
without looking at the content-type header and returning the JSON parse
error.
2016-04-04 23:15:49 +02:00
xenolf
ca19a90028
Merge pull request #176 from willseward/do-authzone
...
DigitalOcean uses FindZoneByFqdn
2016-03-28 18:28:34 +02:00
xenolf
fd99bdb74a
Merge pull request #174 from janeczku/route53-aws-sdk
...
Switch route53 provider to the official AWS SDK
2016-03-28 18:26:56 +02:00
xenolf
4975774a3f
Merge pull request #177 from csstaub/master
...
Build with go-jose.v1 (instead of master)
2016-03-28 17:58:11 +02:00
xenolf
16e4486cfd
Merge pull request #175 from xi2/update-readme-sudo
...
Update README sudo section
2016-03-28 17:56:08 +02:00
Cedric Staub
6528bf217e
Build with go-jose.v1 instead of master
2016-03-27 12:38:49 -07:00
Jan Broer
9f1b9e39af
Switch route53 provider to the official AWS SDK
...
Fully backwards compatible in terms of credential mechanisms
(environment variables, shared credentials file, EC2 metadata). If a
custom AWS IAM policy is in use it needs to be updated with permissions
for the route53:ListHostedZonesByName action.
2016-03-27 20:22:09 +02:00
Wills Ward
b14cf9e756
digital ocean uses FindZoneByFqdn
2016-03-26 20:19:49 -05:00
Michael Cross
7f14e2a4aa
Update README sudo section
2016-03-26 14:02:38 +00:00
xenolf
0a681c253d
Merge pull request #172 from xi2/update-readme-example
...
Update README example section
2016-03-25 22:39:04 +01:00
xenolf
4c1e6a183c
Merge pull request #171 from xi2/gandi-add-live-test
...
Gandi DNS: add live test
2016-03-25 22:38:18 +01:00
xenolf
d46784c256
Merge pull request #170 from kennyballou/readme_update
...
Update README usage Section
2016-03-25 22:37:47 +01:00
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