Commit Graph

162 Commits

Author SHA1 Message Date
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
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
Lukas Schauer
ed2db8e416 Merge pull request #54 from germeier/fixdomainparameter
fix: --domain/-d is a parameter and not a command!
2015-12-16 20:34:53 +01:00
Markus Germeier
f194498478 fixed test.sh script 2015-12-16 20:03:43 +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
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
a2e57b1ede Merge pull request #49 from germeier/commands2
remove command --sign in favor of two parameters "--force" and "--domain"
2015-12-15 23:48:43 +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
Lukas Schauer
d04dc548a0 Merge pull request #44 from digint/bugfix_config_private_key
bugfix: keep configured PRIVATE_KEY
2015-12-14 18:21:14 +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
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
706859010c Merge pull request #40 from digint/no_scriptdir
Don't use SCRIPTDIR
2015-12-14 00:57:43 +01:00
Axel Burri
1e33cfe52b make default PRIVATE_KEY and WELLKNOWN relative to BASEDIR, even if BASEDIR is overridden in config.sh; basic checks on BASEDIR 2015-12-12 15:50:01 +01:00
Axel Burri
1cd2eb2551 never fallback to SCRIPTDIR, this is error-prone and confusing 2015-12-12 15:31:51 +01:00
Lukas Schauer
06feebe171 Merge pull request #37 from germeier/privatekey
fix logic if private key is specified via command line option
2015-12-12 04:45:01 +01:00
Markus Germeier
4a6f797469 actually move BASEDIR up as intended 2015-12-12 03:48:11 +01:00
Markus Germeier
0e92aba206 - make private key a config option
- fix logic if private key is specified via command line option
- start using PARAM_* for parameters provided at the command line
2015-12-12 03:39:45 +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