Commit Graph

4012 Commits

Author SHA1 Message Date
759f4f2c62 Make the instance metadata fetcher self-contained
This is to provide a clean path to future extension work such as adding
a _use_container_role function to offer similar support for ECS
containers.

The $_using_role flag has also been made generic so that future role
providers can also make use of it.
2018-02-20 12:40:24 +00:00
28355335f8 Update dns api to support v2 wildcard cert #1261 2018-02-20 11:22:06 +02:00
9f6832d636 Update dns api to support v2 wildcard cert #1261 2018-02-20 11:16:42 +02:00
5309afc347 Update dns api to support v2 wildcard cert #1261 2018-02-20 11:09:37 +02:00
693627a858 Emulate Boto when using role metadata
Use the behavior established in the botocore python library to inform
how and when instance metadata is fetched in an attempt to acquire valid
AWS credentials.

- Use it as a fallback when no other credentials are provided
- Set the timeout of metadata requests to 1 second
2018-02-20 00:34:55 +00:00
48eaa0e5bf Let AWS DNS API code pull creds from instance role
Add option (AWS_USE_INSTANCE_ROLE) to have the AWS DNS API driver pull
the necessary credentials from the AWS EC2 instance metadata endpoint
when required.

This is a non-breaking change as it only takes effect when explicitly
turned on via the environment variable, and fails safe back to the
normal code path.
2018-02-19 19:03:29 +00:00
9ad7ac632a fix https://github.com/Neilpang/acme.sh/issues/1284#issuecomment-366616855 2018-02-19 21:07:01 +08:00
41e3ecad46 Update dns api to support v2 wildcard cert #1261 2018-02-19 14:14:08 +02:00
d6f8d63742 fix https://github.com/Neilpang/acme.sh/issues/1286 2018-02-19 12:43:56 +08:00
28b0929554 Merge pull request #1283 from justmwa/master
Fixes
2018-02-19 12:34:18 +08:00
55787ff7b9 other fixes 2018-02-17 15:12:19 +01:00
b00919c692 various fixes 2018-02-17 15:08:13 +01:00
d43392628b Merge pull request #1273 from jlduran/add-strongswan-freebsd
Add support for strongSwan deploys in FreeBSD
2018-02-17 11:43:42 +08:00
aa831fee5b Merge pull request #1279 from Neilpang/1277
https://github.com/Neilpang/acme.sh/issues/1277
2018-02-17 10:45:44 +08:00
5c568d6999 https://github.com/Neilpang/acme.sh/issues/1277 2018-02-17 10:31:34 +08:00
d84665cb64 fix https://github.com/Neilpang/acme.sh/issues/1271 2018-02-17 10:16:04 +08:00
4bb5d27c59 Merge pull request #1218 from hcouplet/standalone-listen-address-fix
Standalone listen address fix. #1217
2018-02-17 10:14:12 +08:00
11a9f1d1f0 Merge pull request #1274 from jlduran/add-account-key-permissions
Set the account key file permissions
2018-02-17 10:04:06 +08:00
123e8f21b5 Set the account key file permissions 2018-02-16 15:42:32 -02:00
6d6b2efdb5 fix he for solaris 2018-02-16 23:16:25 +08:00
94b925f5ef Merge branch 'dev' of https://github.com/Neilpang/acme.sh 2018-02-16 16:36:32 +02:00
c86755f1ab format fix 2018-02-16 09:19:47 -05:00
b8418ced44 syntax fixes 2018-02-16 09:01:26 -05:00
fac0beaa0a Add support for strongSwan deploys in FreeBSD
Related to 8ea800205c
2018-02-16 11:29:10 -02:00
c1f5229906 update doc 2018-02-16 11:21:14 +08:00
d5865989cf update doc 2018-02-16 10:48:25 +08:00
90e587a974 add vault deploy hook script 2018-02-15 15:34:47 -05:00
4a6b31fbe2 Merge pull request #1268 from Neilpang/dev
fix format
2018-02-15 21:16:41 +08:00
a63766a005 fix format 2018-02-15 21:04:53 +08:00
47359c1a3b Merge pull request #1267 from Neilpang/dev
sync
2018-02-15 20:37:15 +08:00
abd0dad2bf fix https://github.com/Neilpang/acme.sh/issues/1145#issuecomment-365863118 2018-02-15 20:35:31 +08:00
54a52f7048 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2018-02-15 12:39:06 +08:00
f213215c81 fix lua 2018-02-15 12:38:45 +08:00
96cde120b4 Merge pull request #1258 from wickerwaka/dreamhost_dns
Added DreamHost DNS API
2018-02-15 12:35:37 +08:00
0096ef4ddb fix ali 2018-02-15 12:26:35 +08:00
ce6c7d4b59 fix dp 2018-02-15 10:51:13 +08:00
b51ed9bbb7 https://github.com/Neilpang/acme.sh/issues/1251 2018-02-15 10:29:03 +08:00
5c6af92a0d Merge pull request #1264 from Neilpang/dev
sync
2018-02-14 22:56:13 +08:00
d8eb08e214 fix format 2018-02-14 22:36:17 +08:00
c6f5c7f1a3 fix gd 2018-02-14 22:31:02 +08:00
a6b6e31cda fix dp 2018-02-14 20:52:06 +08:00
28145a9deb fix ovh 2018-02-14 20:40:49 +08:00
fa991c8501 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2018-02-14 19:40:16 +08:00
5f345d2089 fix https://github.com/Neilpang/acme.sh/issues/1262 2018-02-14 19:39:47 +08:00
520c454f22 Merge branch 'dev' of https://github.com/Neilpang/acme.sh 2018-02-14 13:29:36 +02:00
cc81668c8f Merge pull request #1094 from Daniel15/cloudns-sub
[cloudns] Add support for sub user IDs
2018-02-14 19:23:07 +08:00
6426e044d6 Merge pull request #1263 from jlduran/fix-key-file-permissions
Fix key file permissions
2018-02-14 17:31:40 +08:00
7b92371a03 Fix key file permissions
Introduced in 8201458332.

Related to #1256.
2018-02-14 06:46:48 -02:00
6105d4a4e6 Merge branch 'dev' into dreamhost_dns 2018-02-13 21:04:09 -08:00
84649e9d20 Addressing PR feedback
Replace printf with echo
Move dreamhost to bottom of DNS API list
2018-02-13 21:02:38 -08:00