Commit Graph

244 Commits

Author SHA1 Message Date
Simone Carletti
08ced4bd22 The dns-01 support is now available in production
See https://twitter.com/letsencrypt/status/689919523164721152
2016-01-24 10:45:43 +01:00
Lukas Schauer
3432f60e33 Merge pull request #107 from jantore/hook-example
Add hook script example.
2016-01-23 12:43:00 +01:00
Jan Tore Morken
f1bea8abc5 Add hook script example. 2016-01-22 21:48:19 +01:00
Lukas Schauer
ef7a3adb89 Merge pull request #95 from nielslaukens/master
Add ability to sign "arbitrary" CSRs
2016-01-22 16:54:47 +01:00
Lukas Schauer
e5c4c0ff20 Merge pull request #103 from nneul/fix-issue-102
Retain full result when submitting challenge. Fixes #102
2016-01-22 16:46:34 +01:00
Lukas Schauer
8636929fcd Merge pull request #99 from ymc/feature/add_conf.d_support
Add conf.d support
2016-01-22 16:40:21 +01:00
Lukas Schauer
35f9049718 Merge pull request #97 from ymc/feature/fix_syntax_highlighting
Fix possibly broken syntax highlighting
2016-01-22 16:36:35 +01:00
Lukas Schauer
e6b3d4fcd4 Merge pull request #100 from davidearl/master
Add detail as to how dns-01 hook works
2016-01-22 16:35:03 +01:00
Lukas Schauer
d1b20b3540 Merge pull request #98 from ymc/fix/configuring_BASEDIR_does_not_affect_built_in_defaults
Respect configured BASEDIR for default values
2016-01-22 16:31:15 +01:00
Nathan Neulinger
72cc024ea4 Retain full result when submitting challenge. Fixes #102 2016-01-21 23:11:11 +00:00
davidearl
682b1d5bf5 Add detail as to how dns-01 hook works 2016-01-21 15:39:18 +00:00
Daniel Beyer
a1cb7cccd2 Add conf.d support
This adds support for a new config variable CONFIG_D in the main configuration
file. Setting a path to a directoy for CONFIG_D advises letsencrypt.sh to
source any additional files found in the specified CONFIG_D directory, that
have a '.sh' ending.
By default CONFIG_D is not set, meaning letsencrypt.sh does not source any
additional configuration files.
2016-01-21 16:29:16 +01:00
Daniel Beyer
9baf3532e5 Respect configured BASEDIR for default values
If BASEDIR is set in config.sh, this does not modify the (default) values
of either PRIVATE_KEY, WELLKNOWN or LOCKFILE. One needs to manually specify
those three config variables in config.sh, if a different BASEDIR
should be used by letsencrypt.sh.

This commit makes letsencrypt.sh fully aware of a configured BASEDIR.
2016-01-21 16:16:08 +01:00
Daniel Beyer
f0323faf93 Fix possibly broken syntax highlighting
The pattern
```
 VAR="$(cmd '"')"
```
breaks syntax highlighting in some editors (e.g. gedit or jedit) due to
the tripple double quotes.
2016-01-21 11:58:49 +01:00
Niels Laukens
429ec400d8 Add --signcsr command 2016-01-21 08:05:58 +01:00
Niels Laukens
a62968c9b3 Add extract_altnames() function 2016-01-21 08:05:58 +01:00
Niels Laukens
50e7a072da Split off CSR signing to separate function 2016-01-21 08:05:58 +01:00
Lukas Schauer
23b0ef5aa5 Merge pull request #89 from germeier/master
add support for  Elliptic Curve Cryptography (ECC)
2016-01-16 22:41:03 +01:00
Lukas Schauer
a1a9c8a4a5 added header with script-name and url to github repository 2016-01-16 22:29:09 +01:00
Lukas Schauer
c3c9ff4c75 moved OSTYPE check and use built-in [[ for OSTYPE check 2016-01-16 22:28:17 +01:00
Lukas Schauer
0af7f388d6 check exitcode of curl -V because of some issue with ancient versions of curl returning error codes on checking the version number 2016-01-16 21:50:15 +01:00
Lukas Schauer
f7c7d8c599 use different sed version for different system types (mostly for compatibility with ancient linux distros nobody should be using anyway ¯\_(ツ)_/¯) 2016-01-16 21:41:58 +01:00
Markus Germeier
c71ca3a8b1 add support for Elliptic Curve Cryptography (ECC) 2016-01-16 18:55:36 +01:00
Lukas Schauer
67a44aa4e3 Merge pull request #88 from f1rebird/master 2016-01-15 23:36:28 +01:00
Lukas Schauer
ee62e7cbb2 Merge pull request #82 from jantore/wellknown-http-only
Require $WELLKNOWN only when using http-01.
2016-01-15 23:29:14 +01:00
Lukas Schauer
ee077cfadc Merge pull request #85 from jaquer/fix-exit
Added missing space before exit code.
2016-01-15 23:24:45 +01:00
Moritz Kick
115041cd0f I's are important 2016-01-15 23:22:24 +01:00
Lukas Schauer
788762437a Merge pull request #86 from petrkle/lock-dir-writable
Check if directory for LOCKFILE is writable.
2016-01-15 23:20:28 +01:00
Lukas Schauer
63ab72a521 check for sed with support for extended regular expressions 2016-01-15 23:03:12 +01:00
Petr
61ba0daf66 Fix typo 2016-01-15 10:43:34 +01:00
Petr
291b9f245e Check if directory for LOCKFILE is writable. 2016-01-15 10:25:06 +01:00
Arturo R
7191ed2551 Added missing space before exit code. 2016-01-13 20:33:13 -08:00
Lukas Schauer
2a7b48822a use -z instead of == "".. it's late. 2016-01-10 04:46:52 +01:00
Lukas Schauer
fb0242a463 show help if no arguments are provided 2016-01-10 04:44:44 +01:00
Jan Tore Morken
d9de894cad Require $WELLKNOWN only when using http-01. 2016-01-09 18:42:50 +01:00
Lukas Schauer
ec9d3cd1cd Merge pull request #81 from pascalj/remove-home-path
Remove home path from config.sh.example
2016-01-09 15:51:33 +01:00
Pascal Jungblut
184391acaa Remove home path from config.sh.example 2016-01-09 15:13:48 +01:00
Lukas Schauer
d6ce88233e call mktemp with -t XXXXXX for compatibility with older BSD versions 2016-01-09 01:38:44 +01:00
Lukas Schauer
20a8169a2d fixed whitespace-stripping, replace all whitespace in domains.txt entries with single space character (fixes #60 and #78) 2016-01-08 23:03:06 +01:00
Lukas Schauer
de17389245 cleanup for dns-01-challenge-support code 2016-01-08 22:51:57 +01:00
Lukas Schauer
9b78b251d5 made link in readme clickable 2016-01-08 22:29:36 +01:00
Lukas Schauer
5878f16a40 moved import notice up in readme 2016-01-08 22:28:06 +01:00
Lukas Schauer
68efe6bb61 Merge pull request #77 from germeier/master
add support for dns-01 challenge - try 2
2016-01-08 22:26:45 +01:00
Lukas Schauer
e45f28bb0e moved import scripts from repository to wiki and updated readme a bit 2016-01-08 22:20:16 +01:00
Markus Germeier
e925b293c5 add support for dns-01 challenge - try 2 2016-01-08 22:09:27 +01:00
Lukas Schauer
f7ddaa2eb8 check for mktemp dependency 2016-01-08 22:01:59 +01:00
Lukas Schauer
00810795d1 fixed BASEDIR dependent default config values 2016-01-08 21:55:38 +01:00
Lukas Schauer
30ad9584fd re-set RENEW_DAYS to 30 (got accidentally reverted in one of the previous commits) 2016-01-08 21:41:47 +01:00
Markus Germeier
ed27e013d1 make hook a command line parameter 2016-01-08 21:05:16 +01:00
Lukas Schauer
a7934fe72d do not change exit code of loop in command_sign_domains 2016-01-08 20:33:59 +01:00