Commit graph

437 commits

Author SHA1 Message Date
xenolf
684400fe76 Merge pull request #193 from janeczku/fix-dnsimple
Fix broken DNSimple provider
2016-04-18 01:41:48 +02:00
JanB
65321943ba Fix: DNSimple passes not-a-FQDN string to FindZoneByFqdn() 2016-04-17 04:43:43 +02:00
xenolf
094e3d41bb httpError - Set detail string to the content of the HTTP response if it's not parsed as JSON
Fixes #188
2016-04-15 03:09:29 +02:00
xenolf
cbca761215 Merge pull request #186 from LukeHandle/patch-dns-retryquery
Retry logic for dnsQuery
2016-04-14 20:27:14 +02:00
LukeHandle
a684bab9a4 Fix typo in "retry" 2016-04-12 07:36:42 +01:00
xenolf
23e88185c2 Merge pull request #185 from rekby/jws-out-of-range
Fix out of range
2016-04-12 02:41:31 +02:00
LukeHandle
dbad97ebc6 Retry logic for dnsQuery
Added a slice of NS to be used when retrying queries. Also used with FindZoneByFqdn()
Adjusted 2 error messages given to better differentiate the returned error string
2016-04-12 00:24:11 +01:00
Rekby
e81192c912 errors.New -> fmt.Errorf 2016-04-11 11:49:20 +03:00
Rekby
3ab9b75696 simple, without retriing 2016-04-11 11:43:32 +03:00
Rekby
334ebd6ee6 gofmt 2016-04-11 07:27:12 +03:00
Rekby
7557681b06 doesn't sleep after last try 2016-04-11 07:26:45 +03:00
Rekby
3a426a1382 retry get nonce few times before return error 2016-04-11 07:22:00 +03:00
Rekby
f32c8a55e7 typo 2016-04-11 07:03:21 +03:00
Rekby
1107e337a5 returt to master version for clean pull request 2016-04-11 07:02:06 +03:00
Rekby
ec18c6e42f Fix out of range 2016-04-11 06:45:32 +03:00
xenolf
23157e6ad6 Merge pull request #183 from koep/docker
Add Dockerfile
2016-04-11 04:14:19 +02:00
Rekby
232fbbef08 Fix out of range 2016-04-10 16:06:49 +03:00
xenolf
74c6bbee86
Fix a couple of lint and fmt issues. 2016-04-08 01:21:01 +02:00
xenolf
44d92633c6
Move duplicate code to a function
Signed-off-by: xenolf <xenolf@users.noreply.github.com>
2016-04-08 01:04:38 +02:00
xenolf
239a7005ef Remove official (automatically tested) support for go 1.4 2016-04-08 00:18:18 +02:00
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