Commit Graph

156 Commits

Author SHA1 Message Date
neil 166096dc12 1.1.9, do not register account key each time. compare the account key hash. 2016-03-15 21:27:47 +08:00
neil bac3b6b08d minor 2016-03-14 22:36:11 +08:00
neil 0f4e8b0e69 minor 2016-03-13 22:08:28 +08:00
neil 850c1128df fix nc -q param for centos5 2016-03-13 21:46:58 +08:00
neil 251fc37c3d minor, change debug info 2016-03-13 18:24:03 +08:00
neil 34c27e0995 fix portable. detect 'ss' or 'netstat' 2016-03-13 18:17:13 +08:00
neil 3aff11f629 fix nc compatible. try '-p' first 2016-03-13 16:14:15 +08:00
neil 051c706d78 fix nc info 2016-03-13 15:57:12 +08:00
neil 850db6d4d9 rename fullchain.pem to fullchain.cer 2016-03-13 12:34:53 +08:00
neil caf1fc10ff add fullchain.pem 2016-03-13 11:37:14 +08:00
kaklakariada f8ad8f34b1 Use variable in error message instead of constructing it again 2016-03-12 07:42:18 +01:00
kaklakariada 0705f65336 Fix error message for missing dos api function 2016-03-11 18:00:52 +01:00
neil f89d991d0f minor 2016-03-11 22:37:04 +08:00
neil bce55f429b graceful 2016-03-11 22:17:35 +08:00
neil 1b2e940d6a fix issue '-p' is needed by Debian nc tool 2016-03-11 22:08:54 +08:00
neil 348cddd762 fix compatible to alpine linux 2016-03-10 23:43:03 +08:00
neil 6389e87fd3 fix compatible for centos5 nc-1.84-10. `-p` is not necessary for all the tested platforms. so, remove it. 2016-03-10 21:54:07 +08:00
neil 7203a1c1a0 fix compatible, 'sed -i' is not supported be freeBSD 2016-03-09 23:34:41 +08:00
neil 44df296707 fix compatible for pfsense. 2016-03-09 23:16:46 +08:00
neil 1ad65f7d78 fix compatible to pfsense. use "-config" for single domain to override the default openssl config file. 2016-03-09 22:45:05 +08:00
Fabian Grünbichler 3d49985af8 update _initconf proper " escaping 2016-03-09 11:33:24 +01:00
Fabian Grünbichler 5fd3f21b1f update _initconf with ACCOUNT_KEY_PATH 2016-03-09 11:32:50 +01:00
neil b86869a0a4 minor, fix blank line 2016-03-08 23:18:48 +08:00
neil 6dfaaa702c minor, use "echo" for more compatible 2016-03-08 20:55:54 +08:00
neil 4c3b360886 minor 2016-03-08 20:44:12 +08:00
neil 48a8e6e64b minor, just more checks 2016-03-08 20:40:52 +08:00
neil f8029e2e75 minor 2016-03-08 20:18:24 +08:00
theit8514 eef38fccfe Modified code for Le_ReloadCmd 2016-03-07 22:27:08 -05:00
theit8514 ea455f7352 Add post-renew hook for executing commands when certificate was renewed successfully. 2016-03-07 17:09:02 -05:00
neil d6863a09a6 minor, uncomment the conf values 2016-03-07 21:14:05 +08:00
kaklakariada b5ec3615d0 Fix typo: Geting -> Getting 2016-03-06 18:12:36 +01:00
neil 0d11bd5cb9 Merge branch 'master' of https://github.com/Neilpang/le 2016-03-04 16:40:47 +08:00
neil c4e1faa481 minor: eval reload command 2016-03-04 16:40:34 +08:00
BlueAnanas 0f36bb1130 Replaced $@ by quoted "$@"
An $a without quotes is not putting quotes around expanded characters. The quotes around the server reload command get lost in the process.
2016-03-03 00:18:19 +01:00
J Phani Mahesh 60a94daee1 simplify call by using $@
$@ refers to all arguments, which is a nice way of saying $1 $2 ..., plus it doesn't need updating if we need more arguments.
2016-03-02 18:23:54 +05:30
neil aa692c0e70 Support FreeBSD 2016-02-20 23:58:36 +08:00
neil 0db15ce230 more portable if bash is not in the default path. 2016-02-19 23:48:55 +08:00
neil 0f793850c6 fix uninstall crontab 2016-02-19 22:58:10 +08:00
neil f9a1b64116 remove sudo from crontab 2016-02-19 22:35:18 +08:00
Travis Lee 69b67e4015 change "openssl sha" to "openssl dgst" 2016-02-17 17:05:13 +08:00
neil 02c0453b71 support customized standalone server port for servers, that is behind HAProxy or load balance, default is 80. 2016-02-13 11:43:57 +08:00
neil 1add47a6b6 support ECC key, ECDSA certificate 2016-02-12 17:56:50 +08:00
neil 0f71a9fe96 Use openssl dgst -sha256 instead of openssl sha 2016-02-12 08:54:28 +08:00
Thomas 2c06a14d19 renew() should return the function result code of issue()
currently the renew function does always return 0 even when the cert issuing failed. for now just return the function return code of issue(). 

maybe an additional offset (like +100) should be added to distinguish the issue error codes from the renew error codes.
2016-02-11 22:45:21 +01:00
neil 0809486529 support cloudxns.com api 2016-02-07 18:26:12 +08:00
neil ce56c1bbfc generate default sample account.conf for the first time install 2016-02-06 23:23:00 +08:00
neil b47723adbb minor, renewAll skip 'dnsapi' folder. 2016-02-06 23:06:05 +08:00
neil 7e3cbb4661 fix issue, decode the error message. 2016-02-06 13:32:46 +08:00
neil 94917d1e0b load account.conf at a earlier time, so that "STAGE" macro can be placed in the conf file. 2016-02-02 13:05:54 +08:00
Neil 55ce170842 remove unnecessary error message if the folder is not a domain
remove unnecessary error message if the folder is not a domain.
The error message output made the cron send mail.
2016-02-01 09:39:58 +08:00