Petr
|
61ba0daf66
|
Fix typo
|
2016-01-15 10:43:34 +01:00 |
|
Petr
|
291b9f245e
|
Check if directory for LOCKFILE is writable.
|
2016-01-15 10:25:06 +01:00 |
|
Lukas Schauer
|
2a7b48822a
|
use -z instead of == "".. it's late.
|
2016-01-10 04:46:52 +01:00 |
|
Lukas Schauer
|
fb0242a463
|
show help if no arguments are provided
|
2016-01-10 04:44:44 +01:00 |
|
Lukas Schauer
|
d6ce88233e
|
call mktemp with -t XXXXXX for compatibility with older BSD versions
|
2016-01-09 01:38:44 +01:00 |
|
Lukas Schauer
|
20a8169a2d
|
fixed whitespace-stripping, replace all whitespace in domains.txt entries with single space character (fixes #60 and #78)
|
2016-01-08 23:03:06 +01:00 |
|
Lukas Schauer
|
de17389245
|
cleanup for dns-01-challenge-support code
|
2016-01-08 22:51:57 +01:00 |
|
Lukas Schauer
|
68efe6bb61
|
Merge pull request #77 from germeier/master
add support for dns-01 challenge - try 2
|
2016-01-08 22:26:45 +01:00 |
|
Markus Germeier
|
e925b293c5
|
add support for dns-01 challenge - try 2
|
2016-01-08 22:09:27 +01:00 |
|
Lukas Schauer
|
f7ddaa2eb8
|
check for mktemp dependency
|
2016-01-08 22:01:59 +01:00 |
|
Lukas Schauer
|
00810795d1
|
fixed BASEDIR dependent default config values
|
2016-01-08 21:55:38 +01:00 |
|
Lukas Schauer
|
30ad9584fd
|
re-set RENEW_DAYS to 30 (got accidentally reverted in one of the previous commits)
|
2016-01-08 21:41:47 +01:00 |
|
Markus Germeier
|
ed27e013d1
|
make hook a command line parameter
|
2016-01-08 21:05:16 +01:00 |
|
Lukas Schauer
|
a7934fe72d
|
do not change exit code of loop in command_sign_domains
|
2016-01-08 20:33:59 +01:00 |
|
Lukas Schauer
|
d760890c88
|
changed urlbase64 helper to also use sed for character replacements
|
2016-01-08 20:18:31 +01:00 |
|
Lukas Schauer
|
f06f764f38
|
use _exiterr helper in a few more places
|
2016-01-08 20:00:30 +01:00 |
|
Lukas Schauer
|
bc580335ae
|
added a few more comments
|
2016-01-08 20:00:30 +01:00 |
|
Lukas Schauer
|
1446fd8806
|
removed get_json_array helper, rearranged sign_domain method a bit, made grep for PEM-format-check quiet
|
2016-01-08 20:00:30 +01:00 |
|
Lukas Schauer
|
59f16407c3
|
return error on invalid request method in http_request, shortened http_request a bit
|
2016-01-08 20:00:30 +01:00 |
|
Lukas Schauer
|
994803bf01
|
removed anti_newline helper
|
2016-01-08 20:00:30 +01:00 |
|
Lukas Schauer
|
cc605a22bd
|
moved _openssl helper a bit up to be near the other helper methods
|
2016-01-08 20:00:29 +01:00 |
|
Lukas Schauer
|
3dcfa8b48e
|
rewritten command_revoke method (shortened + changed output to look less like one of those weird openssl error messages)
|
2016-01-08 20:00:29 +01:00 |
|
Lukas Schauer
|
93cd114fee
|
rewritten init_system method and parts of command_sign_domains (DOMAINS_TXT handling)
|
2016-01-08 19:24:23 +01:00 |
|
Lukas Schauer
|
7727f5ea61
|
rewritten help method to get rid of column dependency
|
2016-01-08 19:13:50 +01:00 |
|
Lukas Schauer
|
9f66bfdb50
|
rewritten argument handling and moved to new main() method, added dependency checks, added _exiterr helper
|
2016-01-08 19:10:50 +01:00 |
|
Lukas Schauer
|
16bef17e45
|
rewritten hex2bin method
|
2016-01-08 19:02:13 +01:00 |
|
Lukas Schauer
|
ff11639624
|
moved loading of configuration to seperate method
|
2016-01-08 18:59:01 +01:00 |
|
Lukas Schauer
|
3a9e97f997
|
renamed _request method to http_request
|
2016-01-08 17:59:46 +01:00 |
|
Ondřej Nový
|
da2795d34d
|
Renew certificate 30 days before expiration
According to https://community.letsencrypt.org/t/quick-start-guide/1631
Renewals and Lifetimes:
Certificates from Let's Encrypt are valid for 90 days. We recommend
renewing them every 60 days to provide a nice margin of error.
|
2016-01-02 21:14:34 +01:00 |
|
Lukas Schauer
|
f090fbcf7f
|
hide output of grep for pem-format-check
|
2015-12-20 19:54:43 +01:00 |
|
Lukas Schauer
|
6d64c8d452
|
Merge pull request #59 from erdgeist/master
when using printf, we do not need inline expansion of variables
|
2015-12-19 23:34:08 +01:00 |
|
Dirk Engling
|
0714919600
|
when using printf, we do not need inline expansion of variables
|
2015-12-19 23:26:49 +01:00 |
|
Lukas Schauer
|
f70f3048f9
|
wat. removed some unnecessary code.
|
2015-12-19 23:24:29 +01:00 |
|
Lukas Schauer
|
3bc1cf91ce
|
shellcheck fixes
|
2015-12-19 02:38:41 +01:00 |
|
Markus Germeier
|
c70180364b
|
revoke: follow symlink, exit with error on non-existing certificate file
|
2015-12-19 02:24:55 +01:00 |
|
Lukas Schauer
|
9e79c066d5
|
use temporary openssl config instead of weird fake fds (fixes #57)
|
2015-12-19 01:58:28 +01:00 |
|
Lukas Schauer
|
a733f78919
|
format CA certificate as PEM
|
2015-12-17 18:48:01 +01:00 |
|
Lukas Schauer
|
083c67369f
|
removed TODO mark from help text on renew of changed domains
|
2015-12-17 15:38:57 +01:00 |
|
Markus Germeier
|
2d097c928c
|
force a renew if given domain name(s) don't match the domain name(s) of the existing cert
|
2015-12-17 15:35:39 +01:00 |
|
Markus Germeier
|
27094cdb65
|
fix: --domain/-d is a parameter and not a command!
|
2015-12-16 19:48:48 +01:00 |
|
Lukas Schauer
|
a4e7c43a78
|
rearranged and extended travis tests a bit
|
2015-12-16 14:44:22 +01:00 |
|
Lukas Schauer
|
760b689407
|
replace pcre-ism with posix class (thanks to @awaw, fixes #52)
|
2015-12-16 13:46:33 +01:00 |
|
Lukas Schauer
|
5a29d1853e
|
do not create WELLKNOWN directory, output error message if directory is missing
|
2015-12-16 13:03:48 +01:00 |
|
Lukas Schauer
|
6504a29a23
|
switch to sign_domains command if domain parameter is given
|
2015-12-16 12:59:13 +01:00 |
|
Lukas Schauer
|
1ca883dee2
|
changed default command to 'help'
|
2015-12-16 12:54:51 +01:00 |
|
Lukas Schauer
|
e4666acb88
|
do not return exit code 1 if domains.txt is empty, fixes #51
|
2015-12-16 12:48:11 +01:00 |
|
Lukas Schauer
|
311112654a
|
write error messages to stderr
|
2015-12-16 01:09:40 +01:00 |
|
Lukas Schauer
|
9d787f3814
|
handle whitespace in domains.txt a bit different to be compatible with bsd sed, hopefully fixes #45
|
2015-12-16 00:55:12 +01:00 |
|
Markus Germeier
|
8f6c23280d
|
remove --sign in favor of two options "--force" and "--domain" (try 2)
|
2015-12-15 20:56:07 +01:00 |
|
Axel Burri
|
d24e531afb
|
bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after set_defaults()
|
2015-12-14 18:10:05 +01:00 |
|