Commit Graph

132 Commits

Author SHA1 Message Date
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
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
373b739e2d Merge pull request #33 from M-M-M-M/clean_challenge
Move cleaning challenge in order to clean when challenge is valid and when challenge is invalid.
2015-12-08 18:14:15 +01:00
Lukas Schauer
89822bc176 added travis-ci badge to readme 2015-12-08 18:11:25 +01:00
ET
ab30195142 Move cleaning challenge in order to clean when challenge is valid and when challenge is invalid. 2015-12-08 18:09:46 +01:00
Lukas Schauer
9ebbce0480 added travis config 2015-12-08 17:55:22 +01:00
Simon Ruderich
f9126627a8 use lock file to prevent concurrent access
Closes #31.
2015-12-08 17:52:18 +01:00
Simon Ruderich
85da9090ef fix missing variable 2015-12-08 17:36:29 +01:00
Simon Ruderich
10cf229981 check certificate to detect corruption 2015-12-08 16:57:55 +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
Simon Ruderich
0b2119c494 _request: fix unset variable
_request() is also called when $challenge_token/$keyauth is not set.
2015-12-08 16:04:52 +01:00
Simon Ruderich
84fac54107 fix typo in error message 2015-12-08 16:04:52 +01:00
Simon Ruderich
e32ea24c78 pass altname/domain as second argument to HOOK 2015-12-08 16:04:47 +01:00
Simon Ruderich
7f8ea450ff display errors from openssl 2015-12-08 16:04:47 +01:00
Simon Ruderich
d322e072d6 import-certs.sh: simplify expiry check 2015-12-08 16:04:47 +01:00
Simon Ruderich
526843d66e ugly fix to syntax highlighting in Vim 2015-12-08 16:04:47 +01:00
Simon Ruderich
e567a87e69 README.md: letsencrypt.sh is written in bash 2015-12-08 16:04:47 +01:00
Simon Ruderich
ffa3542787 chmod +x import-account.pl 2015-12-08 16:04:47 +01:00
Simon Ruderich
1369c9afb8 replace echo with printf 2015-12-08 16:04:47 +01:00
Simon Ruderich
cbe1eb2cda fix typo in comment 2015-12-08 16:04:47 +01:00
Simon Ruderich
c10390fbd1 simplify expiry check 2015-12-08 16:04:47 +01:00
Simon Ruderich
3f6ff8f753 replace rm -f; ln -s with ln -sf 2015-12-08 16:04:47 +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
et@corde.org
c24843c666 A single HOOK to handle challenge, cleaning of challenge files and uploading of certs. 2015-12-08 15:22:31 +01:00