Commit Graph

188 Commits

Author SHA1 Message Date
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
ab4ad4129e Merge pull request #71 from chrisb86/master
Changed shebang of import-certs.sh to #!/usr/bin/env bash
2016-01-06 20:55:23 +01:00
Christian Busch
ff08e39c5d Changed shebang of import-certs.sh to #!/usr/bin/env bash 2016-01-06 19:12:08 +01:00
Lukas Schauer
2bc73198b4 Merge pull request #68 from onovy/master
Renew certificate 30 days before expiration
2016-01-05 15:21:49 +01:00
Lukas Schauer
1ebe458088 Merge pull request #69 from olf/upstream
fix typo in test.sh (ngrok not found)
2016-01-05 15:20:56 +01:00
Olaf Peters
ebe9ea3d8b fix typo in test.sh (ngrok not found) 2016-01-05 12:27:26 +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
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
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
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
Markus Germeier
c70180364b revoke: follow symlink, exit with error on non-existing certificate file 2015-12-19 02:24:55 +01:00
Dominik Heidler
0ed6a25795 add perl shebang 2015-12-19 02:00:34 +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
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