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
|
5878f16a40
|
moved import notice up in readme
|
2016-01-08 22:28:06 +01:00 |
|
Lukas Schauer
|
e45f28bb0e
|
moved import scripts from repository to wiki and updated readme a bit
|
2016-01-08 22:20:16 +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 |
|
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
|
92a822e0b8
|
updated readme
|
2016-01-08 19:59:43 +01:00 |
|
Lukas Schauer
|
b57fd221f1
|
fixed --domain syntax in test.sh
|
2016-01-08 19:25:58 +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 |
|
Lukas Schauer
|
1573b6881a
|
added license (fixes #63)
|
2015-12-22 15:11:39 +01:00 |
|
Lukas Schauer
|
f090fbcf7f
|
hide output of grep for pem-format-check
|
2015-12-20 19:54:43 +01:00 |
|
Lukas Schauer
|
f70f3048f9
|
wat. removed some unnecessary code.
|
2015-12-19 23:24:29 +01:00 |
|
Lukas Schauer
|
7b9683445a
|
readme: mores infos about WELLKNOWN
|
2015-12-19 17:45:24 +01:00 |
|
Lukas Schauer
|
3bc1cf91ce
|
shellcheck fixes
|
2015-12-19 02:38:41 +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
|
338ec30853
|
also test SAN config
|
2015-12-19 01:56:04 +01:00 |
|
Lukas Schauer
|
a733f78919
|
format CA certificate as PEM
|
2015-12-17 18:48:01 +01:00 |
|
Lukas Schauer
|
98fe9b3482
|
never PASS with content in errorlog
|
2015-12-17 18:40:45 +01:00 |
|
Lukas Schauer
|
85b3f1917f
|
check if renewal works
|
2015-12-17 18:33:54 +01:00 |
|
Lukas Schauer
|
f6f7713900
|
use different fake-ca for travis tests
|
2015-12-17 18:22:01 +01:00 |
|
Lukas Schauer
|
7664f1c225
|
Revert "tests are failing because of api limits, removed badge from readme"
This reverts commit 76e2f0dc9c.
|
2015-12-17 18:20:53 +01:00 |
|
Lukas Schauer
|
76e2f0dc9c
|
tests are failing because of api limits, removed badge from readme
|
2015-12-17 15:45:50 +01:00 |
|
Lukas Schauer
|
d1d9d1f6c7
|
oops.. repaired test script
|
2015-12-17 15:41:18 +01:00 |
|
Lukas Schauer
|
083c67369f
|
removed TODO mark from help text on renew of changed domains
|
2015-12-17 15:38:57 +01:00 |
|
Lukas Schauer
|
6a8f44828e
|
additional tests and show log output if script execution fails
|
2015-12-17 15:37:30 +01:00 |
|
Lukas Schauer
|
d3bc67ebf3
|
more verbose messages on certificate verification
|
2015-12-16 15:13:51 +01:00 |
|
Lukas Schauer
|
341f52523a
|
test for force-resign
|
2015-12-16 15:05:21 +01:00 |
|
Lukas Schauer
|
40556950e0
|
a bit more verbose on tests
|
2015-12-16 14:53:45 +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 |
|
Lukas Schauer
|
8662a000d5
|
updated readme
|
2015-12-14 15:03:57 +01:00 |
|
Lukas Schauer
|
79ef6af2d4
|
fixed travis config? maybe. again.
|
2015-12-14 14:56:16 +01:00 |
|
Lukas Schauer
|
cc13fd86a2
|
fixed travis config? maybe.
|
2015-12-14 14:39:31 +01:00 |
|
Lukas Schauer
|
d65a64648a
|
removed root certificates
|
2015-12-14 14:38:06 +01:00 |
|
Lukas Schauer
|
2f3b13fb88
|
travis: use fullchain to verify ssl certificate
|
2015-12-14 14:37:28 +01:00 |
|
Lukas Schauer
|
1eb6f6d287
|
grab root certificate url from certificate, fixes #43
|
2015-12-14 14:31:49 +01:00 |
|
Lukas Schauer
|
6816216fdb
|
fixed usage of openssl sha in newer openssl versions by using direct binary output
|
2015-12-14 14:10:54 +01:00 |
|
Lukas Schauer
|
4fefa43e03
|
use sha in openssl instead of shasum, fixes #42
|
2015-12-14 14:04:11 +01:00 |
|
Lukas Schauer
|
62037de041
|
use config vars from letsencrypt.sh in import-script
|
2015-12-14 01:37:03 +01:00 |
|
Lukas Schauer
|
3ba233de1b
|
also output config location on --env
|
2015-12-14 01:35:43 +01:00 |
|
Lukas Schauer
|
10d9f34260
|
making shellcheck happy again
|
2015-12-14 01:30:22 +01:00 |
|
Lukas Schauer
|
1ab6a436c0
|
allow export of config variables for use in other scripts
|
2015-12-14 01:20:21 +01:00 |
|
Lukas Schauer
|
5120dfb5f3
|
changed order of config locations to be a bit more sane
|
2015-12-14 01:03:32 +01:00 |
|
Lukas Schauer
|
8d00950572
|
don't assume we are in the same directory as the script
|
2015-12-12 02:09:08 +01:00 |
|
Lukas Schauer
|
0a859a1906
|
fancy autogenerated help text
|
2015-12-12 02:03:50 +01:00 |
|
Lukas Schauer
|
81882a64c2
|
added commandline options (thanks to germeier, fixes #35)
|
2015-12-12 01:30:34 +01:00 |
|
Lukas Schauer
|
9dfc5f084d
|
fixed travis config
|
2015-12-08 18:41:17 +01:00 |
|
Lukas Schauer
|
97d8f71e88
|
added staging-ca certificate and added verification test to travis config
|
2015-12-08 18:37:35 +01:00 |
|
Lukas Schauer
|
89822bc176
|
added travis-ci badge to readme
|
2015-12-08 18:11:25 +01:00 |
|
Lukas Schauer
|
9ebbce0480
|
added travis config
|
2015-12-08 17:55:22 +01:00 |
|
Lukas Schauer
|
43b00611b1
|
fixed output of config location
|
2015-12-08 16:54:34 +01:00 |
|
Lukas Schauer
|
0972918605
|
grab action urls from ca-directory
|
2015-12-08 16:38:25 +01:00 |
|
Lukas Schauer
|
f527eef84a
|
removed line-break in example config
|
2015-12-08 16:13:40 +01:00 |
|
Lukas Schauer
|
454c164b25
|
Check for config file in various locations
|
2015-12-08 15:57:22 +01:00 |
|
Lukas Schauer
|
007da420a9
|
also add default CA definition in description of variable
|
2015-12-08 15:42:57 +01:00 |
|
Lukas Schauer
|
16943702a5
|
fixed default path to WELLKNOWN and moved SCRIPTDIR definition out of default-config block
|
2015-12-08 15:38:33 +01:00 |
|
Lukas Schauer
|
cb6dc26c38
|
cleaned up example config
|
2015-12-08 15:35:45 +01:00 |
|
Lukas Schauer
|
15accf9013
|
certificate comes first in fullchain.pem, fixes #26
|
2015-12-08 14:46:50 +01:00 |
|
Lukas Schauer
|
c70b77a90d
|
added shebang to example config
|
2015-12-08 14:43:15 +01:00 |
|
Lukas Schauer
|
ead15632ff
|
making shellcheck happy
|
2015-12-08 14:42:26 +01:00 |
|
Lukas Schauer
|
12c566b1d6
|
added certificate revocation to feature-list
|
2015-12-07 21:15:32 +01:00 |
|
Lukas Schauer
|
0d7913ab61
|
renamed import scripts, updated readme
|
2015-12-07 14:56:04 +01:00 |
|
Lukas Schauer
|
f343dc11e8
|
update symlinks after signing the certificate
|
2015-12-07 14:28:53 +01:00 |
|
Lukas Schauer
|
c764d03ee2
|
making shellcheck happy
|
2015-12-07 14:00:51 +01:00 |
|
Lukas Schauer
|
2d93c6fb02
|
umask in import script
|
2015-12-07 13:22:25 +01:00 |
|
Lukas Schauer
|
067d7ee4ba
|
added import script (allows import of existing certificates from the original letsencrypt client)
|
2015-12-07 13:21:12 +01:00 |
|
Lukas Schauer
|
329acb58b5
|
create fullchain.pem
|
2015-12-07 12:50:31 +01:00 |
|
Lukas Schauer
|
3cc587c224
|
also store csr with timestamp and symlink to default location
|
2015-12-07 12:41:57 +01:00 |
|
Lukas Schauer
|
1f08fda757
|
look for domains.txt under BASEDIR
|
2015-12-07 12:36:56 +01:00 |
|
Lukas Schauer
|
77df80b5a4
|
updated readme
|
2015-12-07 12:19:15 +01:00 |
|
Lukas Schauer
|
274e8e4192
|
updated readme
|
2015-12-07 12:18:06 +01:00 |
|
Lukas Schauer
|
00837b86ae
|
delete challenge response after verification
|
2015-12-07 12:10:51 +01:00 |
|
Lukas Schauer
|
98a6c549ff
|
parse challenges json differently to be compatible with bsd sed
|
2015-12-07 12:08:30 +01:00 |
|
Lukas Schauer
|
474f33d2ca
|
added config option to set path for openssl config file (currently only used for generating a signing request)
|
2015-12-07 11:45:09 +01:00 |
|
Lukas Schauer
|
cd13a9c21a
|
use bash functionality instead of sed to filter SAN variable
|
2015-12-07 11:36:58 +01:00 |
|
Lukas Schauer
|
81cb6ac77b
|
don't use '-r' on sed
|
2015-12-07 11:36:27 +01:00 |
|