Commit graph

10174 commits

Author SHA1 Message Date
Jakub Warmuz
e197f156a7
choose_plugin can return None 2015-05-09 05:47:09 +00:00
Brad Warren
e3d95c5a68 Final changes 2015-05-08 23:43:06 -04:00
Brad Warren
ae6b13cd5b Finished basic POP challenge with tests 2015-05-08 23:14:04 -04:00
yan
dfb94613bf Add nginx server block for target_name if one doesn't exist 2015-05-08 17:30:34 -07:00
Seth Schoen
2ee1ab05b3 Work in progress toward renewer enrollment 2015-05-08 15:00:35 -07:00
Jakub Warmuz
fce08ea30c
Use CLI_DEFAULTS in plugins 2015-05-08 21:32:13 +00:00
yan
f7116a7388 Reduce logging severity for unparseable config files 2015-05-08 12:36:32 -07:00
yan
1533eea351 Start nginx if it's not already running 2015-05-08 12:34:48 -07:00
Brad Warren
fbab449694 Finished basic POP challenge 2015-05-08 15:17:29 -04:00
yan
4dc566a871 Update vhost object when making nginx SSL block 2015-05-07 18:30:50 -07:00
Seth Schoen
953b57453e Test for creating renewer db dirs that don't exist 2015-05-07 15:25:02 -07:00
Seth Schoen
28438dd111 Changes to get successful enrollment in renewer DB 2015-05-07 15:07:04 -07:00
Seth Schoen
3b2ffff154 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-07 12:04:11 -07:00
James Kasten
ae31b81e7a Merge pull request #393 from Ter0/patch-1
Fix typo in authenticator description
2015-05-07 11:59:41 -07:00
Chris Johns
32b7705080 Fix typo in authenticator description 2015-05-06 17:24:34 +01:00
Jakub Warmuz
9a0073fff5
docker: use quay.io, move quick start section to the top 2015-05-06 09:33:56 +00:00
Jakub Warmuz
ca00cce22c
Merge remote-tracking branch 'github/letsencrypt/master' into cli
Conflicts:
	letsencrypt/client/client.py
	letsencrypt/scripts/main.py
2015-05-06 09:13:36 +00:00
yan
cf48791686 Address @kuba review comments 2015-05-05 23:57:40 -07:00
yan
6f4af62f61 Add dvsni tests 2015-05-05 23:40:40 -07:00
yan
23d27f4659 Bump min nginx version to 0.8.48
We are assuming that if a server_name isn't specified, it matches the empty
string. Prior to 0.8.48, it would match the machine's hostname.
2015-05-05 23:40:40 -07:00
James Kasten
a0b410f460 Merge pull request #389 from letsencrypt/separate_keys
Separate keys
2015-05-05 18:29:09 -07:00
James Kasten
94d8a1ca01 update documentation of obtain_certificate 2015-05-05 14:54:15 -07:00
James Kasten
394e18c4c6 use certificate_key throughout 2015-05-05 14:43:00 -07:00
James Kasten
73679a4e85 generate a separate key for the certificate 2015-05-05 14:15:48 -07:00
Seth Schoen
5fe9c079a0 Merge remote-tracking branch 'origin' into renewer 2015-05-05 12:49:24 -07:00
James Kasten
84cae41b38 Merge pull request #388 from kuba/acme
More readable message2.Error exceptions + small test.
2015-05-05 12:38:52 -07:00
Jakub Warmuz
6580d3a85b
Add test for ChallengeBody proxy behaviour 2015-05-05 19:10:51 +00:00
Jakub Warmuz
3c645a9916
messages2.Error.__str__ (more readable exceptions)
This partially fixes #349.
2015-05-05 19:09:57 +00:00
Jakub Warmuz
b6b86e44ce
Fix typo 2015-05-05 10:47:36 +00:00
Jakub Warmuz
d0b63a3500
nit: EOF newline 2015-05-05 08:40:05 +00:00
Jakub Warmuz
64a00d37bb
Update docker setup.
Changes:
- uses debian:jessie as base image (more lightweight)
- .dockerignore .git/.tox to speed up build process considerably
- more caching-aware Dockerfile
- copy current directory instead of git cloning the repo inside the container
- /etc/letsencrypt and /var/lib/letsencrypt volumes;
  no need for "if os.environ.get" hack

bootstrap script for debian had to be adjusted, as lsb_release is not
present in debian:jessie image.
2015-05-05 08:26:23 +00:00
Seth Schoen
b0dfea33c6 Remove a debug print statement 2015-05-04 16:33:17 -07:00
Seth Schoen
45541a3a23 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-04 15:59:14 -07:00
Jakub Warmuz
3a0db7efa1
Merge remote-tracking branch 'github/letsencrypt/master' into docker
Conflicts:
	letsencrypt/client/client.py
2015-05-04 21:22:38 +00:00
Jakub Warmuz
4c871b57c8
Remove a bit of nginx code dedup from apache 2015-05-04 15:36:00 +00:00
Jakub Warmuz
5863323eb0
PluginEntryPoint.description, show in CLI 2015-05-04 14:30:02 +00:00
Jakub Warmuz
aa6984e310
Attempt at cleaning {cert,chain}_path mess 2015-05-04 14:29:32 +00:00
Jakub Warmuz
c185480ae9
setup.cfg aliases don't work with pip 2015-05-04 14:02:03 +00:00
Jakub Warmuz
803bb9595c
Fix test dirs chmods errors.
Stragely, when run on digitalocean jessie x64 droplet (as root), the
following error were produced before this fix:

======================================================================
ERROR: test_add_name_vhost (letsencrypt.client.plugins.apache.tests.configurator_test.TwoVhost80Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/tests/configurator_test.py", line 35, in setUp
self.ssl_options)
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/tests/util.py", line 76, in get_apache_configurator
version)
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/configurator.py", line 96, in __init__
self.verify_setup()
File "/root/lets-encrypt-preview/letsencrypt/client/plugins/apache/configurator.py", line 938, in verify_setup
self.config.config_dir, constants.CONFIG_DIRS_MODE, uid)
File "/root/lets-encrypt-preview/letsencrypt/client/le_util.py", line 37, in make_or_verify_dir
"permissions or owner" % directory)
LetsEncryptClientError: /tmp/tmp1wYWIMconfig exists, but does not have the proper permissions or owner
2015-05-04 13:48:18 +00:00
Jakub Warmuz
73ac2e36cc
Fix plugins command 2015-05-04 12:47:08 +00:00
Jakub Warmuz
f38911eb10
Actually install ConfigArgParse@python2.6 branch 2015-05-04 12:04:27 +00:00
Jakub Warmuz
a2df245567
Temporary fox for ConfigArgParse#17 2015-05-04 11:56:09 +00:00
Jakub Warmuz
8ae6a60fba
pep8 2015-05-04 08:26:08 +00:00
Jakub Warmuz
1c75100f79
Merge remote-tracking branch 'github/letsencrypt/master' into cli
Conflicts:
	letsencrypt/client/plugins/apache/configurator.py
2015-05-04 08:14:19 +00:00
Jakub Warmuz
9e7918fc75
Test CLI plugins command 2015-05-04 08:10:52 +00:00
Jakub Warmuz
b4f99df798
Full coverage and lint for display.ops 2015-05-03 22:15:30 +00:00
James Kasten
e4ac29ef81 Merge pull request #380 from kuba/boulder-130-fixed
boulder#130 fixed
2015-05-03 13:06:32 -07:00
Jakub Warmuz
0216ea3f26
boulder#130 fixed 2015-05-03 19:44:53 +00:00
Jakub Warmuz
138a9e9f01
Full coverage and lint for disco/disco_test 2015-05-03 14:28:23 +00:00
Jakub Warmuz
1878db3416
More coverage for plugins.disco 2015-05-03 13:21:36 +00:00