Commit Graph

436 Commits

Author SHA1 Message Date
neilpang 796e2cc156 fix shellcheck warnings 2016-11-11 22:32:11 +08:00
neilpang 7af784adce fix shellcheck warnings 2016-11-11 22:30:55 +08:00
neilpang a988a91e2e fix shfmt warnings 2016-11-11 22:14:21 +08:00
neilpang a8b564fa64 typo 2016-11-11 22:10:14 +08:00
neilpang b97e140389 fix shfmt warnings 2016-11-11 22:07:49 +08:00
neilpang e51bef6d12 fix shellcheck warnings. 2016-11-11 22:00:15 +08:00
neilpang 4bd31f4967 fix shellcheck warnings 2016-11-11 21:47:24 +08:00
neilpang 7ff7a7c527 fix shellcheck warnning 2016-11-11 21:31:16 +08:00
neilpang c4a375b3a5 fix shellcheck warnings. 2016-11-11 21:22:48 +08:00
neilpang e3698edd19 fix shellcheck warnings 2016-11-11 21:15:48 +08:00
neilpang e591d5cfe4 fix shellcheck warnings 2016-11-11 21:13:33 +08:00
neilpang 44edb2bd2f fix shellcheck warnings 2016-11-09 22:35:30 +08:00
neilpang 201aa24448 fix shellcheck warnings. 2016-11-09 22:28:12 +08:00
neilpang e799ef2977 fix shellcheck warnings. 2016-11-09 22:09:30 +08:00
neilpang 0c538f7527 fix shellcheck warnings 2016-11-09 22:07:32 +08:00
neilpang ca7202eb0a fix shellcheck warnings 2016-11-09 21:56:50 +08:00
neilpang d5ec5f80ff fix shellcheck warnings 2016-11-09 21:44:46 +08:00
neilpang 0c944a03fe fix shellcheck warnings 2016-11-09 21:26:35 +08:00
neilpang 79a267ab08 fix for shellcheck 2016-11-09 21:18:47 +08:00
neilpang f9a6988ece fix for shellcheck 2016-11-09 21:06:22 +08:00
neilpang 95e06de5de fix for shellcheck 2016-11-09 20:45:57 +08:00
neilpang 4c2a384159 Add shfmt to format source code 2016-11-09 19:30:39 +08:00
neilpang b001840dee minor: add _hmac function 2016-11-08 21:27:39 +08:00
neilpang 20a6ab3d1a find hook file in current dir first 2016-11-07 20:59:10 +08:00
neilpang 5be1449db5 add APACHE_HTTPD_CONF
https://github.com/Neilpang/acme.sh/issues/363
2016-11-06 23:26:38 +08:00
neilpang 57e58ce76c set default account key to 2048.
Some old platforms doesn't support ecc signing.
2016-11-06 23:08:45 +08:00
neilpang d018be5d36 hide private key from the log 2016-11-04 23:45:08 +08:00
neilpang 67184d7b20 add more error check 2016-11-04 23:34:06 +08:00
neilpang cae9cee295 add debug info 2016-11-04 22:53:33 +08:00
neilpang 067d586c1c typo 2016-11-04 22:47:45 +08:00
neilpang d22b7938da fix old version openssl issue for ecc key 2016-11-04 22:45:50 +08:00
neilpang 29b7510957 add sign error check. 2016-11-04 22:22:01 +08:00
neilpang 9d548d81ac add more debug info 2016-11-04 22:03:41 +08:00
neilpang 1cbf416b10 minor, add more log 2016-11-02 23:22:36 +08:00
neilpang e7d4352292 minor 2016-11-01 20:38:00 +08:00
neilpang 610e0f21d6 fix apache error checks 2016-11-01 20:29:58 +08:00
neilpang 7e512bad96 fix apache mode 2016-11-01 19:31:20 +08:00
neilpang 93fc48a2db add more error check 2016-11-01 19:14:33 +08:00
neilpang 2a1e06f8a9 add --quiet for idn 2016-10-31 21:22:04 +08:00
neilpang 02d54a783a fix for idn on solaris 2016-10-31 21:12:11 +08:00
neilpang 0d2c26735e minor 2016-10-29 21:33:34 +08:00
neilpang 72518d4827 fix performance 2016-10-29 17:43:38 +08:00
neilpang ae2db62f1c fix issues for ECC account key. 2016-10-29 12:14:48 +08:00
neilpang 8c76b8bc36 do not cache thumbprint for issues for ecc account key 2016-10-29 11:15:45 +08:00
neilpang 18256c4923 fix issue cache jwk for ecc key only 2016-10-29 11:08:18 +08:00
neilpang 5dbf664a6b minor, reduce the sleep time. 2016-10-29 10:53:45 +08:00
neilpang cae203be71 fix thumbprint 2016-10-28 23:30:32 +08:00
neilpang 8a29fbc850 do not register account if already registered 2016-10-28 22:45:19 +08:00
neilpang 00bcbd367f fix performance, use cached nonce 2016-10-28 21:30:40 +08:00
neilpang 1befee5aca fix performance 2016-10-28 20:56:18 +08:00
neil 5982f4bcf0 rename JWK_HEADER 2016-10-28 18:07:04 +08:00
neilpang 9e45ac939b minor, add message 2016-10-27 22:47:19 +08:00
neilpang f940b2a58e add retry to deactivate command 2016-10-27 22:10:58 +08:00
neilpang 3afa4b210d add retry for temp authz request error 2016-10-27 20:07:20 +08:00
neilpang 998783eb9d Support ECC account key.
fix https://github.com/Neilpang/acme.sh/issues/76

https://tools.ietf.org/html/rfc3278#section-8.2
http://bitcoin.stackexchange.com/questions/2376/ecdsa-r-s-encoding-as-a-signature
http://davidederosa.com/basic-blockchain-programming/elliptic-curve-digital-signatures/
2016-10-27 00:06:03 +08:00
Philippe Kueck 2d279c4c5c
add nsupdate to sample config 2016-10-26 11:57:45 +02:00
neilpang 800e3f4599 support dns_xxx_rm function
fix https://github.com/Neilpang/acme.sh/issues/79
2016-10-25 23:02:49 +08:00
neilpang e3b4a0213c Merge branch 'master' into deploy 2016-10-25 20:55:18 +08:00
Armando Lüscher 9910ff5fa1 Allow saved password strings to have special characters. (#334) 2016-10-25 20:49:22 +08:00
neilpang 049be10406 fix idn to support European chars
https://github.com/Neilpang/acme.sh/issues/331#issuecomment-255583889
2016-10-23 20:36:32 +08:00
neilpang 9aa3be7f9f add _uninstallalias 2016-10-23 15:10:09 +08:00
neilpang aba5c634ae minor, add output info for installing alias.
fix https://github.com/Neilpang/acme.sh/issues/332
2016-10-23 15:04:52 +08:00
neil 9774b01b0e 2.6.1 support IDN (#335)
* Support IDN

* fix deactivate idn name

* 2.6.1 support IDN
2016-10-23 14:56:52 +08:00
neil ecf0a710e1 fix typo 2016-10-21 18:26:35 +08:00
neil c9febbdd87 fix for centos ncat and debian default netcat (#330) 2016-10-19 22:14:42 +08:00
Peter Lyons caa2e45a8c use RFC2606 example.com domain in docs (#327)
https://www.rfc-editor.org/rfc/rfc2606.txt
2016-10-13 10:14:36 +08:00
neilpang d9130c9852 minor 2016-10-12 22:38:28 +08:00
neilpang 661f05837c minor 2016-10-12 21:48:18 +08:00
neilpang a61fe418b2 support deploy api 2016-10-11 20:56:59 +08:00
neil b15cfc2c5a minor 2016-10-11 18:30:38 +08:00
neil c575c9af3d Merge branch 'master' of https://github.com/Neilpang/acme.sh 2016-10-11 18:06:35 +08:00
neil 81f27e9077 minor, get the error info, if it contains CRLF 2016-10-11 18:05:32 +08:00
neil f78babfaa0 nc (#324) 2016-10-10 19:47:16 +08:00
neilpang 66990cf872 minor 2016-10-09 22:27:25 +08:00
Maxim Zalysin d6f0c2b52b Add support PowerDNS API (#322)
* Add support PowerDNS API

* Small fixes
2016-10-09 21:56:04 +08:00
neil bb25febd70 Checkdomain (#317)
* check if domains are changed

* fix output info
2016-10-05 22:09:15 +08:00
neil 19ab2a29ce fix tail for solaris 2016-10-05 13:03:45 +08:00
neil 24b4fe9867 Merge branch 'master' of https://github.com/Neilpang/acme.sh 2016-10-05 12:16:14 +08:00
neil aa7b82de04 minor 2016-10-05 12:15:06 +08:00
neil 3d826bed3a fix for ncat on centos, try without '-p' first (#315) 2016-10-04 23:35:56 +08:00
neil 656bd330f8 change default renew days o 60.
fix https://github.com/Neilpang/acme.sh/issues/314
https://github.com/Neilpang/acme.sh/issues/281
2016-10-04 20:55:31 +08:00
neil c2c8f32010 fix for wget 2016-10-03 22:29:48 +08:00
neil 9f43c270e6 fix wget 2016-10-03 22:08:40 +08:00
neil 50827188ff minor: save on success 2016-10-02 23:54:21 +08:00
neil 6ae0f7f5c6 support "--listen-v4" and "--listen-v6" (#311)
https://github.com/Neilpang/acme.sh/issues/310
2016-10-02 23:37:37 +08:00
neil c583d6bb49 fix sleep display 2016-09-30 22:43:24 +08:00
neil fdcb6b721c fix for busybox 2016-09-30 22:13:27 +08:00
neil ef858ef062 use head -n 2016-09-30 21:37:39 +08:00
neil ad752b317d support csr that contains empty CN field. fix https://github.com/Neilpang/acme.sh/issues/306 2016-09-29 22:19:03 +08:00
neil 6bf281f905 support '--auto-upgrade' 2016-09-28 22:05:43 +08:00
neil 4dfc8b262c support individual ca path 2016-09-28 13:27:32 +08:00
neil f08ffe9feb v2.6.0 2016-09-28 13:26:02 +08:00
neil 65de3110a9 minor, fix error message 2016-09-28 13:13:08 +08:00
neil f6dcd98995 save api first 2016-09-28 13:07:51 +08:00
neil 950172dc01 debug info 2016-09-27 23:52:52 +08:00
neil 5c48e139d4 support individual ca accounts 2016-09-27 23:43:18 +08:00
neil b19ba13aff fix for Mac osx 2016-09-27 21:27:43 +08:00
neil 30bfc2cea7 fix https://github.com/Neilpang/acme.sh/issues/304 2016-09-27 13:11:08 +08:00
neil 30c2d84c6d minor: remove useless hook. 2016-09-26 13:33:09 +08:00
neil fbd2038fa7 minor 2016-09-26 13:08:19 +08:00
neil e4b8d9b9d6 minor, No need to save ACCOUNT_URL 2016-09-25 22:54:58 +08:00
neil 6b50003697 minor 2016-09-25 22:26:41 +08:00
neil a73c5b3355 support log level 2016-09-25 21:58:59 +08:00
neil eb59817e81 Support `updateaccount` and `registeraccount`. fix https://github.com/Neilpang/acme.sh/issues/70 2016-09-25 10:56:06 +08:00
neil d404e92d16 Fetch agreement tos dynamically, fix https://github.com/Neilpang/acme.sh/issues/253 2016-09-24 23:53:53 +08:00
neil 86c017ec9d fix deactivate return code 2016-09-24 14:17:04 +08:00
neil 0407c4e0f7 minor 2016-09-24 14:01:28 +08:00
neil 0ba95a3dd4 fix auto upgrade 2016-09-24 13:43:08 +08:00
neil 0463b5d6cd support "--local-address" to specify a listening ip address in standalone mode if the server have multiple ips. By default, the standalone server listens to 0.0.0.0 2016-09-23 23:14:03 +08:00
neil 3f4513b3a9 Support deactivate in bulk 2016-09-23 22:35:13 +08:00
neil fb2029e717 add more info 2016-09-22 23:25:32 +08:00
neil 48f02fb61b minor 2016-09-22 23:23:27 +08:00
neil 0c00e870c6 Support Authorization deactivation
https://github.com/Neilpang/acme.sh/issues/291
2016-09-22 23:17:50 +08:00
neil 7da50703fb minor 2016-09-22 21:38:11 +08:00
neil 18e46962c2 fix https://github.com/Neilpang/acme.sh/issues/297 2016-09-22 13:15:25 +08:00
neil 319e0ae3cf fix auto upgrade 2016-09-21 13:39:39 +08:00
neil e69a7c38d9 fix auto upgrade 2016-09-21 13:27:05 +08:00
neil ecd685755b fix auto upgrade 2016-09-21 13:18:46 +08:00
neil 276b51d927 minor 2016-09-21 13:09:22 +08:00
neil 251d1c5c9f minor 2016-09-20 22:23:49 +08:00
neil 028e17475f minor, renew time minus 1 day 2016-09-20 21:03:43 +08:00
neil 1ab630435d fix color when upgrade in cronjob 2016-09-20 20:34:33 +08:00
neil 89002ed298 support AUTO_UPGRADE. In the cron job, try to upgrade acme.sh if "AUTO_UPGRADE" is set. 2016-09-20 20:22:25 +08:00
neil d0871bdae3 rename "--logfile" to "--log", and give a default log file 2016-09-20 19:08:02 +08:00
neil 5ea6e9c9c0 support "--logfile" 2016-09-19 23:07:43 +08:00
neil 267f283a31 fix bug, upgrade in current dir without installation. 2016-09-18 13:06:15 +08:00
neil 3324c0ae79 opps 2016-09-17 12:52:47 +08:00
neil 811bff6db0 minor, hide debug info 2016-09-17 12:29:50 +08:00
neil 0c9546ccb0 fix https://github.com/Neilpang/acme.sh/issues/288
add --ocsp-must-staple, --ocsp
2016-09-15 10:41:47 +08:00
neil 7b16442656 minor 2016-09-10 18:04:59 +08:00
neil b0070f03af support '--pre-hook', '--post-hook' and '--renew-hook' 2016-09-06 23:26:22 +08:00
neil 08ee072f11 minor, fix color 2016-09-06 19:37:41 +08:00
neil f3e4cea34f work in the current dir, without installation (#279) 2016-09-02 22:37:49 +08:00
neil 2d12b68952 minor 2016-09-02 20:55:11 +08:00
neil 1643b476eb fix bugs. 2016-08-27 20:00:47 +08:00
neil 5980ebc79a minor, do not output the key file if using signcsr 2016-08-27 15:44:03 +08:00
neil 10afcaca2f Support issue cert from existing CSR (#276)
fix https://github.com/Neilpang/acme.sh/issues/212
2016-08-27 13:52:13 +08:00
neil cbcd7e0f86 minor, fix format 2016-08-25 22:27:48 +08:00
neil 3aae1ae3d9 minor, fix _mktemp 2016-08-25 21:46:31 +08:00
neil 775bd1abd0 minor 2016-08-25 13:17:42 +08:00
Patrick Sodré 78009539d1 Add option for a custom ca-bundle file. (#274)
* Add option for a custom ca-bundle file.

* Renamed option cacert to ca-bundle.

* Save CA_BUNDLE path in configuration file.

* Store absolule path to ca-bundle file
2016-08-25 13:14:56 +08:00
neil e2053b22b4 minor, fix format 2016-08-25 13:06:04 +08:00
neil dfdc402fbb fix typo 2016-08-25 12:03:19 +08:00
neil 690a5e205d Support Ovh domain api (#273)
* support ovh

* fix success link

* fix OVH issues.

* v2.4.3 Support OVH domain api
2016-08-25 10:45:41 +08:00
neil a6014bf04e support sha1 2016-08-24 18:46:23 +08:00
neil 5fbc47eb3a fixd createAccountKey https://github.com/Neilpang/acme.sh/issues/271 2016-08-23 22:53:43 +08:00
neil 6d4e903b08 https://github.com/Neilpang/acme.sh/issues/270 2016-08-23 10:03:50 +08:00
neil 66f08eb236 minor format output 2016-08-22 13:36:39 +08:00
neil 933c169da5 minor 2016-08-17 13:17:06 +08:00
neil a8df88ab91 https://github.com/Neilpang/acme.sh/issues/263 2016-08-15 21:14:36 +08:00
neil df9547ae39 minor 2016-08-15 19:15:19 +08:00
neil d529eb6d00 minor 2016-08-14 23:20:53 +08:00
neil fac1e367c9 2.4.1 fix bug. 2016-08-14 22:37:21 +08:00
neil 31a5487cba fix dual certs 2016-08-13 20:37:52 +08:00
neil 43822d37a7 Support RSA and ECDSA dual certs (#262)
* Support RSA and ECDSA dual certs

* minor

* fix RSA and ECC dual certs

* minor
2016-08-13 19:22:25 +08:00
neil e3c66532c5 Support Solaris 2016-08-10 23:13:14 +08:00
neil 22ea4004e1 Support SunOS/Solaris (#260)
Support SunOS/Solaris 

* Support Solaris

* Support SunOS/Open Solaris
2016-08-10 21:54:08 +08:00
neil bd5e57d879 https://github.com/Neilpang/acme.sh/issues/258 2016-08-08 10:17:10 +08:00
neil 08928b486b minor: add version to useragent 2016-08-07 14:47:57 +08:00
neil 75da0713d2 tls mode: -naccept is not supported by many old openssl versions. (#257)
So I remove it.  and use 2 GET requests to make openssl sever exit.
2016-08-07 14:25:55 +08:00
neil d35bf51780 2.3.5: skip domain verify if the authorization is already valid, add to production server. 2016-08-07 10:23:52 +08:00
neil ec603beeb0 skip verify (#256)
skip domain verify if the authorization is already valid
2016-08-07 10:21:27 +08:00
neil 1e6b68f5d1 fix https://github.com/Neilpang/acme.sh/issues/244
Update renew days for renew/renewall
2016-08-02 21:47:35 +08:00
neil f574e5813f add the new reg hash 2016-08-02 10:56:40 +08:00
neil 30684246d2 new version number 2.3.4 for LE-SA-v1.1.1-August-1-2016.pdf
agreement to LE-SA-v1.1.1-August-1-2016.pdf
2016-08-02 10:04:29 +08:00
Acris Liu c93ec9331b Update agreement to LE-SA-v1.1.1-August-1-2016.pdf 2016-08-02 01:21:00 +08:00
neil 30de13b4df support Godaddy domaain api 2016-07-29 18:07:16 +08:00
Tim O'Brien 3ad08e9515 Changed _stat exit code, added line return, added README link to wiki 2016-07-25 11:07:34 -07:00
Tim O'Brien 32fdc19697 Support for shells without 'stat' (busybox ash)
- the _stat command can now return an error
- the issue() command chown command isn't run if _stat fails
2016-07-22 14:17:33 -07:00
neil c9c31c04c3 typos 2016-07-21 10:48:37 +08:00
neil c3dd3ef0d7 typos 2016-07-20 22:18:07 +08:00
neil 4a4dacb52c minor, change default dns sleep time from 60 seconds to 120 seconds. 2016-07-15 22:56:16 +08:00
neil dcf9cb581d minor, add more debug info 2016-07-15 16:40:03 +08:00
neil 1a6305c93f Merge pull request #236 from tohojo/regexp-escape
Add missing escape in regular expression.
2016-07-09 18:35:50 +08:00
neil bdbf323fee remove the default value 'no' 2016-07-09 17:25:27 +08:00
neil 7270f277a7 minor: less debug message 2016-07-09 15:55:36 +08:00
Toke Høiland-Jørgensen 32dfc387c8 Add missing escape in regular expression.
There was a missing escape of a { character in one of the regular
expressions passed to grep. This adds that.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-07-08 15:42:21 +02:00
neil b3752e78b6 minor, remove error message. 2016-07-08 12:29:47 +08:00
neil 4c0d3f1b75 minor. remove the ugly return code for installcert. 2016-07-08 11:50:47 +08:00
neil 096d8992a1 fix upgrade issue 2016-07-04 20:40:29 +08:00
neil 0bbe6eef89 minor 2016-07-03 12:46:18 +08:00
neil d0b748a4f2 add more debug message. 2016-07-02 13:46:35 +08:00
neil 58f41a194a minor 2016-07-02 13:21:22 +08:00
neil d8d10bc478 opps 2016-07-02 13:13:41 +08:00
neil 61623d22d8 fix bug: re-generate domain key if the key length is different. 2016-07-02 13:03:59 +08:00
neil bc96082fa9 typos 2016-06-27 10:32:51 +08:00
neil 52677b0a88 2.2.9 support --upgrade 2016-06-26 13:30:47 +08:00
neil e4a1958573 support apache2ctl 2016-06-26 11:49:41 +08:00
neil 523c7682fa minor: add MAX_RENEW 2016-06-26 10:09:51 +08:00
neil 87ab2d9085 minor, add more debug info 2016-06-25 09:40:00 +08:00
neil 687cfcc2b1 minor add error code 2016-06-25 09:29:23 +08:00
neil c8e9a31ee5 add `--nocron`, for not installing default cronjob. 2016-06-24 22:27:22 +08:00
bruncsak 2ce87fe264 bug fix to respect the --accountkeylength flag (#219)
Thanks.
2016-06-23 20:11:43 +08:00
neil 13d7cae9e2 add --insecure Do not check the server certificate, in some devices, the api server's certificate may not be trusted. 2016-06-20 18:35:40 +08:00
neil 8814a348a8 minor, do not write the default user agent. 2016-06-19 14:39:24 +08:00
neil 5aa146a53f fix bug 2016-06-18 12:28:23 +08:00
neil cc17973113 return the error code in cron 2016-06-18 11:29:28 +08:00
neil 423966a505 minor, add more debug info 2016-06-17 21:35:34 +08:00
neil fbad6a392d opps 2016-06-17 20:57:54 +08:00
neil 331c4bb669 minor, add more debug info 2016-06-17 20:54:22 +08:00