Commit graph

9359 commits

Author SHA1 Message Date
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
Jakub Warmuz
b600e2d270
PLuginsRegistry: verify, prepare, misconfigured, available. 2015-05-03 12:38:53 +00:00
Jakub Warmuz
595230fd8e
PluginsEntryPoint.prepare, move pick_* to display_ops 2015-05-03 07:56:49 +00:00
Jakub Warmuz
2ffc3c37cb
Fix missing comma 2015-05-02 18:00:57 +00:00
James Kasten
93cdad120d Merge pull request #375 from kuba/apache-no-sudo
Don't use sudo in apache plugin
2015-05-02 09:17:43 -07:00
Jakub Warmuz
8a5be3ee3a
Remove determine_{authenticator,installer} 2015-05-02 13:14:03 +00:00
Jakub Warmuz
bd45d5ceea
constants.CLI_DEFAULTS / flag_default() 2015-05-02 12:38:33 +00:00
Jakub Warmuz
9c6bb5e63c
Tests and lint for plugins disco 2015-05-02 12:18:57 +00:00
Jakub Warmuz
fc059b6269
Add docs for plugins.common and disco 2015-05-02 12:18:57 +00:00
Jakub Warmuz
5672916cb2
Tests and lint for plugins.common 2015-05-02 11:19:46 +00:00
Jakub Warmuz
140ca2b4d0
Merge remote-tracking branch 'github/letsencrypt/master' into cli
Conflicts:
	letsencrypt/client/plugins/standalone/tests/authenticator_test.py
2015-05-02 08:56:35 +00:00
Jakub Warmuz
c9a7172388
Somewhat usable CLI+disco 2015-05-02 08:53:06 +00:00
Jakub Warmuz
7a4d37e320
Don't use sudo in apache plugin. 2015-05-02 08:08:11 +00:00
Jakub Warmuz
19cff00835
common.Plugin (with .conf(var), PluginEntryPoint, PluginRegistry 2015-05-02 07:01:44 +00:00
Seth Schoen
bdcb94a2b5 pylint seems strict about the local variable count 2015-05-01 21:57:22 -07:00
Seth Schoen
40091cf60e Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-01 21:47:47 -07:00