]> git.ipfire.org Git - thirdparty/dehydrated.git/log
thirdparty/dehydrated.git
9 years agowhen using printf, we do not need inline expansion of variables 59/head
Dirk Engling [Sat, 19 Dec 2015 22:26:49 +0000 (23:26 +0100)] 
when using printf, we do not need inline expansion of variables

9 years agoreadme: mores infos about WELLKNOWN
Lukas Schauer [Sat, 19 Dec 2015 16:45:24 +0000 (17:45 +0100)] 
readme: mores infos about WELLKNOWN

9 years agoshellcheck fixes
Lukas Schauer [Sat, 19 Dec 2015 01:36:18 +0000 (02:36 +0100)] 
shellcheck fixes

9 years agorevoke: follow symlink, exit with error on non-existing certificate file
Markus Germeier [Wed, 16 Dec 2015 18:30:20 +0000 (19:30 +0100)] 
revoke: follow symlink, exit with error on non-existing certificate file

9 years agoadd perl shebang
Dominik Heidler [Fri, 18 Dec 2015 09:20:10 +0000 (10:20 +0100)] 
add perl shebang

9 years agouse temporary openssl config instead of weird fake fds (fixes #57)
Lukas Schauer [Sat, 19 Dec 2015 00:57:58 +0000 (01:57 +0100)] 
use temporary openssl config instead of weird fake fds (fixes #57)

9 years agoalso test SAN config
Lukas Schauer [Sat, 19 Dec 2015 00:56:04 +0000 (01:56 +0100)] 
also test SAN config

9 years agoformat CA certificate as PEM
Lukas Schauer [Thu, 17 Dec 2015 17:42:36 +0000 (18:42 +0100)] 
format CA certificate as PEM

9 years agonever PASS with content in errorlog
Lukas Schauer [Thu, 17 Dec 2015 17:40:45 +0000 (18:40 +0100)] 
never PASS with content in errorlog

9 years agocheck if renewal works
Lukas Schauer [Thu, 17 Dec 2015 17:33:54 +0000 (18:33 +0100)] 
check if renewal works

9 years agouse different fake-ca for travis tests
Lukas Schauer [Thu, 17 Dec 2015 17:22:01 +0000 (18:22 +0100)] 
use different fake-ca for travis tests

9 years agoRevert "tests are failing because of api limits, removed badge from readme"
Lukas Schauer [Thu, 17 Dec 2015 17:20:53 +0000 (18:20 +0100)] 
Revert "tests are failing because of api limits, removed badge from readme"

This reverts commit 76e2f0dc9c44ad02fa077b6330bcaddeae6c2330.

9 years agotests are failing because of api limits, removed badge from readme
Lukas Schauer [Thu, 17 Dec 2015 14:45:50 +0000 (15:45 +0100)] 
tests are failing because of api limits, removed badge from readme

9 years agooops.. repaired test script
Lukas Schauer [Thu, 17 Dec 2015 14:41:18 +0000 (15:41 +0100)] 
oops.. repaired test script

9 years agoremoved TODO mark from help text on renew of changed domains
Lukas Schauer [Thu, 17 Dec 2015 14:38:57 +0000 (15:38 +0100)] 
removed TODO mark from help text on renew of changed domains

9 years agoadditional tests and show log output if script execution fails
Lukas Schauer [Thu, 17 Dec 2015 14:37:30 +0000 (15:37 +0100)] 
additional tests and show log output if script execution fails

9 years agoforce a renew if given domain name(s) don't match the domain name(s) of the existing...
Markus Germeier [Wed, 16 Dec 2015 20:36:23 +0000 (21:36 +0100)] 
force a renew if given domain name(s) don't match the domain name(s) of the existing cert

9 years agoMerge pull request #54 from germeier/fixdomainparameter
Lukas Schauer [Wed, 16 Dec 2015 19:34:53 +0000 (20:34 +0100)] 
Merge pull request #54 from germeier/fixdomainparameter

fix: --domain/-d is a parameter and not a command!

9 years agofixed test.sh script 54/head
Markus Germeier [Wed, 16 Dec 2015 19:03:43 +0000 (20:03 +0100)] 
fixed test.sh script

9 years agofix: --domain/-d is a parameter and not a command!
Markus Germeier [Wed, 16 Dec 2015 18:48:48 +0000 (19:48 +0100)] 
fix: --domain/-d is a parameter and not a command!

9 years agomore verbose messages on certificate verification
Lukas Schauer [Wed, 16 Dec 2015 14:10:04 +0000 (15:10 +0100)] 
more verbose messages on certificate verification

9 years agotest for force-resign
Lukas Schauer [Wed, 16 Dec 2015 14:03:20 +0000 (15:03 +0100)] 
test for force-resign

9 years agoa bit more verbose on tests
Lukas Schauer [Wed, 16 Dec 2015 13:51:53 +0000 (14:51 +0100)] 
a bit more verbose on tests

9 years agorearranged and extended travis tests a bit
Lukas Schauer [Wed, 16 Dec 2015 12:58:49 +0000 (13:58 +0100)] 
rearranged and extended travis tests a bit

9 years agoreplace pcre-ism with posix class (thanks to @awaw, fixes #52)
Lukas Schauer [Wed, 16 Dec 2015 12:46:33 +0000 (13:46 +0100)] 
replace pcre-ism with posix class (thanks to @awaw, fixes #52)

9 years agodo not create WELLKNOWN directory, output error message if directory is missing
Lukas Schauer [Wed, 16 Dec 2015 12:03:48 +0000 (13:03 +0100)] 
do not create WELLKNOWN directory, output error message if directory is missing

9 years agoswitch to sign_domains command if domain parameter is given
Lukas Schauer [Wed, 16 Dec 2015 11:59:13 +0000 (12:59 +0100)] 
switch to sign_domains command if domain parameter is given

9 years agochanged default command to 'help'
Lukas Schauer [Wed, 16 Dec 2015 11:54:51 +0000 (12:54 +0100)] 
changed default command to 'help'

9 years agodo not return exit code 1 if domains.txt is empty, fixes #51
Lukas Schauer [Wed, 16 Dec 2015 11:48:11 +0000 (12:48 +0100)] 
do not return exit code 1 if domains.txt is empty, fixes #51

9 years agowrite error messages to stderr
Lukas Schauer [Wed, 16 Dec 2015 00:09:40 +0000 (01:09 +0100)] 
write error messages to stderr

9 years agohandle whitespace in domains.txt a bit different to be compatible with bsd sed, hopef...
Lukas Schauer [Tue, 15 Dec 2015 23:50:42 +0000 (00:50 +0100)] 
handle whitespace in domains.txt a bit different to be compatible with bsd sed, hopefully fixes #45

9 years agoMerge pull request #49 from germeier/commands2
Lukas Schauer [Tue, 15 Dec 2015 22:48:43 +0000 (23:48 +0100)] 
Merge pull request #49 from germeier/commands2

remove command --sign in favor of two parameters "--force" and "--domain"

9 years agoremove --sign in favor of two options "--force" and "--domain" (try 2) 49/head
Markus Germeier [Tue, 15 Dec 2015 19:56:07 +0000 (20:56 +0100)] 
remove --sign in favor of two options "--force" and "--domain" (try 2)

9 years agoMerge pull request #44 from digint/bugfix_config_private_key
Lukas Schauer [Mon, 14 Dec 2015 17:21:14 +0000 (18:21 +0100)] 
Merge pull request #44 from digint/bugfix_config_private_key

bugfix: keep configured PRIVATE_KEY

9 years agobugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after... 44/head
Axel Burri [Mon, 14 Dec 2015 17:08:52 +0000 (18:08 +0100)] 
bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after set_defaults()

9 years agoupdated readme
Lukas Schauer [Mon, 14 Dec 2015 14:03:10 +0000 (15:03 +0100)] 
updated readme

9 years agofixed travis config? maybe. again.
Lukas Schauer [Mon, 14 Dec 2015 13:44:38 +0000 (14:44 +0100)] 
fixed travis config? maybe. again.

9 years agofixed travis config? maybe.
Lukas Schauer [Mon, 14 Dec 2015 13:39:31 +0000 (14:39 +0100)] 
fixed travis config? maybe.

9 years agoremoved root certificates
Lukas Schauer [Mon, 14 Dec 2015 13:38:06 +0000 (14:38 +0100)] 
removed root certificates

9 years agotravis: use fullchain to verify ssl certificate
Lukas Schauer [Mon, 14 Dec 2015 13:37:28 +0000 (14:37 +0100)] 
travis: use fullchain to verify ssl certificate

9 years agograb root certificate url from certificate, fixes #43
Lukas Schauer [Mon, 14 Dec 2015 13:30:37 +0000 (14:30 +0100)] 
grab root certificate url from certificate, fixes #43

9 years agofixed usage of openssl sha in newer openssl versions by using direct binary output
Lukas Schauer [Mon, 14 Dec 2015 13:10:54 +0000 (14:10 +0100)] 
fixed usage of openssl sha in newer openssl versions by using direct binary output

9 years agouse sha in openssl instead of shasum, fixes #42
Lukas Schauer [Mon, 14 Dec 2015 13:04:11 +0000 (14:04 +0100)] 
use sha in openssl instead of shasum, fixes #42

9 years agouse config vars from letsencrypt.sh in import-script
Lukas Schauer [Mon, 14 Dec 2015 00:37:03 +0000 (01:37 +0100)] 
use config vars from letsencrypt.sh in import-script

9 years agoalso output config location on --env
Lukas Schauer [Mon, 14 Dec 2015 00:35:43 +0000 (01:35 +0100)] 
also output config location on --env

9 years agomaking shellcheck happy again
Lukas Schauer [Mon, 14 Dec 2015 00:30:22 +0000 (01:30 +0100)] 
making shellcheck happy again

9 years agoallow export of config variables for use in other scripts
Lukas Schauer [Mon, 14 Dec 2015 00:20:21 +0000 (01:20 +0100)] 
allow export of config variables for use in other scripts

9 years agochanged order of config locations to be a bit more sane
Lukas Schauer [Mon, 14 Dec 2015 00:03:32 +0000 (01:03 +0100)] 
changed order of config locations to be a bit more sane

9 years agoMerge pull request #40 from digint/no_scriptdir
Lukas Schauer [Sun, 13 Dec 2015 23:57:43 +0000 (00:57 +0100)] 
Merge pull request #40 from digint/no_scriptdir

Don't use SCRIPTDIR

9 years agomake default PRIVATE_KEY and WELLKNOWN relative to BASEDIR, even if BASEDIR is overri... 40/head
Axel Burri [Sat, 12 Dec 2015 14:41:34 +0000 (15:41 +0100)] 
make default PRIVATE_KEY and WELLKNOWN relative to BASEDIR, even if BASEDIR is overridden in config.sh; basic checks on BASEDIR

9 years agonever fallback to SCRIPTDIR, this is error-prone and confusing
Axel Burri [Sat, 12 Dec 2015 14:10:10 +0000 (15:10 +0100)] 
never fallback to SCRIPTDIR, this is error-prone and confusing

9 years agoMerge pull request #37 from germeier/privatekey
Lukas Schauer [Sat, 12 Dec 2015 03:45:01 +0000 (04:45 +0100)] 
Merge pull request #37 from germeier/privatekey

fix logic if private key is specified via command line option

9 years agoactually move BASEDIR up as intended 37/head
Markus Germeier [Sat, 12 Dec 2015 02:48:11 +0000 (03:48 +0100)] 
actually move BASEDIR up as intended

9 years ago- make private key a config option
Markus Germeier [Sat, 12 Dec 2015 02:39:45 +0000 (03:39 +0100)] 
- 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

9 years agodon't assume we are in the same directory as the script
Lukas Schauer [Sat, 12 Dec 2015 01:09:08 +0000 (02:09 +0100)] 
don't assume we are in the same directory as the script

9 years agofancy autogenerated help text
Lukas Schauer [Sat, 12 Dec 2015 01:01:56 +0000 (02:01 +0100)] 
fancy autogenerated help text

9 years agoadded commandline options (thanks to germeier, fixes #35)
Lukas Schauer [Sat, 12 Dec 2015 00:18:27 +0000 (01:18 +0100)] 
added commandline options (thanks to germeier, fixes #35)

9 years agofixed travis config
Lukas Schauer [Tue, 8 Dec 2015 17:41:17 +0000 (18:41 +0100)] 
fixed travis config

9 years agoadded staging-ca certificate and added verification test to travis config
Lukas Schauer [Tue, 8 Dec 2015 17:37:27 +0000 (18:37 +0100)] 
added staging-ca certificate and added verification test to travis config

9 years agoMerge pull request #33 from M-M-M-M/clean_challenge
Lukas Schauer [Tue, 8 Dec 2015 17:14:15 +0000 (18:14 +0100)] 
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.

9 years agoadded travis-ci badge to readme
Lukas Schauer [Tue, 8 Dec 2015 17:11:25 +0000 (18:11 +0100)] 
added travis-ci badge to readme

9 years agoMove cleaning challenge in order to clean when challenge is valid and when challenge... 33/head
ET [Tue, 8 Dec 2015 17:09:46 +0000 (18:09 +0100)] 
Move cleaning challenge in order to clean when challenge is valid and when challenge is invalid.

9 years agoadded travis config
Lukas Schauer [Tue, 8 Dec 2015 16:55:22 +0000 (17:55 +0100)] 
added travis config

9 years agouse lock file to prevent concurrent access
Simon Ruderich [Tue, 8 Dec 2015 16:50:46 +0000 (17:50 +0100)] 
use lock file to prevent concurrent access

Closes #31.

9 years agofix missing variable
Simon Ruderich [Tue, 8 Dec 2015 16:36:29 +0000 (17:36 +0100)] 
fix missing variable

9 years agocheck certificate to detect corruption
Simon Ruderich [Tue, 8 Dec 2015 15:39:34 +0000 (16:39 +0100)] 
check certificate to detect corruption

9 years agofixed output of config location
Lukas Schauer [Tue, 8 Dec 2015 15:54:34 +0000 (16:54 +0100)] 
fixed output of config location

9 years agograb action urls from ca-directory
Lukas Schauer [Tue, 8 Dec 2015 15:38:25 +0000 (16:38 +0100)] 
grab action urls from ca-directory

9 years agoremoved line-break in example config
Lukas Schauer [Tue, 8 Dec 2015 15:13:40 +0000 (16:13 +0100)] 
removed line-break in example config

9 years ago_request: fix unset variable
Simon Ruderich [Tue, 8 Dec 2015 15:00:43 +0000 (16:00 +0100)] 
_request: fix unset variable

_request() is also called when $challenge_token/$keyauth is not set.

9 years agofix typo in error message
Simon Ruderich [Tue, 8 Dec 2015 14:19:02 +0000 (15:19 +0100)] 
fix typo in error message

9 years agopass altname/domain as second argument to HOOK
Simon Ruderich [Tue, 8 Dec 2015 14:16:05 +0000 (15:16 +0100)] 
pass altname/domain as second argument to HOOK

9 years agodisplay errors from openssl
Simon Ruderich [Tue, 8 Dec 2015 14:15:08 +0000 (15:15 +0100)] 
display errors from openssl

9 years agoimport-certs.sh: simplify expiry check
Simon Ruderich [Tue, 8 Dec 2015 09:23:44 +0000 (10:23 +0100)] 
import-certs.sh: simplify expiry check

9 years agougly fix to syntax highlighting in Vim
Simon Ruderich [Tue, 8 Dec 2015 09:20:36 +0000 (10:20 +0100)] 
ugly fix to syntax highlighting in Vim

9 years agoREADME.md: letsencrypt.sh is written in bash
Simon Ruderich [Tue, 8 Dec 2015 09:10:59 +0000 (10:10 +0100)] 
README.md: letsencrypt.sh is written in bash

9 years agochmod +x import-account.pl
Simon Ruderich [Tue, 8 Dec 2015 09:09:04 +0000 (10:09 +0100)] 
chmod +x import-account.pl

9 years agoreplace echo with printf
Simon Ruderich [Tue, 8 Dec 2015 09:08:24 +0000 (10:08 +0100)] 
replace echo with printf

9 years agofix typo in comment
Simon Ruderich [Tue, 8 Dec 2015 09:06:52 +0000 (10:06 +0100)] 
fix typo in comment

9 years agosimplify expiry check
Simon Ruderich [Tue, 8 Dec 2015 09:06:17 +0000 (10:06 +0100)] 
simplify expiry check

9 years agoreplace rm -f; ln -s with ln -sf
Simon Ruderich [Tue, 8 Dec 2015 09:04:44 +0000 (10:04 +0100)] 
replace rm -f; ln -s with ln -sf

9 years agoCheck for config file in various locations
Lukas Schauer [Tue, 8 Dec 2015 14:51:12 +0000 (15:51 +0100)] 
Check for config file in various locations

9 years agoalso add default CA definition in description of variable
Lukas Schauer [Tue, 8 Dec 2015 14:42:57 +0000 (15:42 +0100)] 
also add default CA definition in description of variable

9 years agofixed default path to WELLKNOWN and moved SCRIPTDIR definition out of default-config...
Lukas Schauer [Tue, 8 Dec 2015 14:38:33 +0000 (15:38 +0100)] 
fixed default path to WELLKNOWN and moved SCRIPTDIR definition out of default-config block

9 years agocleaned up example config
Lukas Schauer [Tue, 8 Dec 2015 14:35:45 +0000 (15:35 +0100)] 
cleaned up example config

9 years agoA single HOOK to handle challenge, cleaning of challenge files and uploading of certs.
et@corde.org [Tue, 8 Dec 2015 13:03:59 +0000 (14:03 +0100)] 
A single HOOK to handle challenge, cleaning of challenge files and uploading of certs.

9 years agocertificate comes first in fullchain.pem, fixes #26
Lukas Schauer [Tue, 8 Dec 2015 13:46:50 +0000 (14:46 +0100)] 
certificate comes first in fullchain.pem, fixes #26

9 years agoadded shebang to example config
Lukas Schauer [Tue, 8 Dec 2015 13:43:15 +0000 (14:43 +0100)] 
added shebang to example config

9 years agomaking shellcheck happy
Lukas Schauer [Tue, 8 Dec 2015 13:42:26 +0000 (14:42 +0100)] 
making shellcheck happy

9 years agoadd CONTACT_EMAIL option on registration
et@corde.org [Tue, 8 Dec 2015 13:30:31 +0000 (14:30 +0100)] 
add CONTACT_EMAIL option on registration

9 years agoadded certificate revocation to feature-list
Lukas Schauer [Mon, 7 Dec 2015 20:15:32 +0000 (21:15 +0100)] 
added certificate revocation to feature-list

9 years agoimplement revoke
Markus Germeier [Mon, 7 Dec 2015 18:51:54 +0000 (19:51 +0100)] 
implement revoke

9 years agorenamed import scripts, updated readme
Lukas Schauer [Mon, 7 Dec 2015 13:56:04 +0000 (14:56 +0100)] 
renamed import scripts, updated readme

9 years agoupdate symlinks after signing the certificate
Lukas Schauer [Mon, 7 Dec 2015 13:28:53 +0000 (14:28 +0100)] 
update symlinks after signing the certificate

9 years agomaking shellcheck happy
Lukas Schauer [Mon, 7 Dec 2015 13:00:51 +0000 (14:00 +0100)] 
making shellcheck happy

9 years agoumask in import script
Lukas Schauer [Mon, 7 Dec 2015 12:22:25 +0000 (13:22 +0100)] 
umask in import script

9 years agoadded import script (allows import of existing certificates from the original letsenc...
Lukas Schauer [Mon, 7 Dec 2015 12:21:12 +0000 (13:21 +0100)] 
added import script (allows import of existing certificates from the original letsencrypt client)

9 years agocreate fullchain.pem
Lukas Schauer [Mon, 7 Dec 2015 11:50:31 +0000 (12:50 +0100)] 
create fullchain.pem

9 years agoalso store csr with timestamp and symlink to default location
Lukas Schauer [Mon, 7 Dec 2015 11:41:03 +0000 (12:41 +0100)] 
also store csr with timestamp and symlink to default location

9 years agolook for domains.txt under BASEDIR
Lukas Schauer [Mon, 7 Dec 2015 11:36:56 +0000 (12:36 +0100)] 
look for domains.txt under BASEDIR