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 |
|
Lukas Schauer
|
219b3e9d0a
|
making shellcheck happy
|
2015-12-07 11:26:14 +01:00 |
|
Lukas Schauer
|
401f5f7597
|
use absolute path of script directory as default BASEDIR, remove trailing slash from BASEDIR
|
2015-12-07 11:21:26 +01:00 |
|
Lukas Schauer
|
09ed26de5b
|
added default BASEDIR to example config
|
2015-12-07 11:15:10 +01:00 |
|
Lukas Schauer
|
3cb292cbb8
|
trying to capture http status codes from curl instead of using "--fail" to be able to capture acme error messages
|
2015-12-06 16:35:46 +01:00 |
|
Lukas Schauer
|
3390080ccb
|
removed acme-challenges directory from git, create if needed
|
2015-12-06 15:41:49 +01:00 |
|
Lukas Schauer
|
440dc30d5e
|
make config.sh optional
|
2015-12-06 15:38:52 +01:00 |
|
Lukas Schauer
|
ff3dbc5819
|
default location for acme-challenges
|
2015-12-06 15:37:41 +01:00 |
|
Lukas Schauer
|
96d7eabed4
|
use "-s" to detect content in temporary curl error logfile
|
2015-12-06 15:01:34 +01:00 |
|
Lukas Schauer
|
2e8454b46e
|
use "/usr/bin/env bash" instead of "/bin/bash"
|
2015-12-05 22:30:00 +01:00 |
|
Lukas Schauer
|
c6e6030269
|
big portability + readability fix: use openssl base64 instead of system base64, use shasum instead of shasum, added some comments
|
2015-12-05 22:27:58 +01:00 |
|
Lukas Schauer
|
6221526df5
|
fixed issue #4 (multiple domains per line)
|
2015-12-05 22:07:03 +01:00 |
|
Lukas Schauer
|
20e7d9d7a7
|
removed perl dependency
|
2015-12-05 22:06:36 +01:00 |
|
Lukas Schauer
|
69f3e78b7e
|
fail in pipes too
|
2015-12-05 18:03:06 +01:00 |
|
Lukas Schauer
|
7ec1e45aa6
|
fixed curl error message
|
2015-12-05 17:42:09 +01:00 |
|
Lukas Schauer
|
91ce50afe2
|
trying to catch curl errors
|
2015-12-05 17:40:21 +01:00 |
|
Lukas Schauer
|
2b5df371a9
|
make challenge files world-readable
|
2015-12-05 16:57:04 +01:00 |
|
Lukas Schauer
|
abb956936c
|
check for errors on token retrieval
|
2015-12-05 03:14:23 +01:00 |
|
Lukas Schauer
|
537f6fb701
|
silent registration
|
2015-12-05 03:12:31 +01:00 |
|
Lukas Schauer
|
4778289a77
|
not using bash arrays anymore
|
2015-12-05 02:51:02 +01:00 |
|
Lukas Schauer
|
8221727a9f
|
moved some code around to allow initial registration
|
2015-12-05 02:43:21 +01:00 |
|
Lukas Schauer
|
f13eaa7f41
|
generate private key if non-existant
|
2015-12-05 02:38:51 +01:00 |
|
Lukas Schauer
|
61f0b7ed7a
|
initial commit
|
2015-12-05 02:31:06 +01:00 |
|