Commit graph

9985 commits

Author SHA1 Message Date
Jakub Warmuz
29146d1225 Fix client to work with cert_chain_uri, "is (not) None" fixes 2015-05-09 20:53:02 -07:00
Seth Schoen
b30a8fbe90 Merge branch 'cli' of https://github.com/kuba/lets-encrypt-preview into renewer 2015-05-09 20:46:30 -07:00
Seth Schoen
d98edd1394 Merge branch 'cli' of https://github.com/kuba/lets-encrypt-preview into renewer
Conflicts:
	letsencrypt/client/client.py
	letsencrypt/client/interfaces.py
	letsencrypt/scripts/main.py

This merge only addresses the "run" verb; the other client verbs still
need work to address the way they integrate with the renewal database.
2015-05-09 20:45:17 -07:00
Jakub Warmuz
87c00ab259
Test mode (no certificate validation). 2015-05-09 20:01:34 +00:00
Jakub Warmuz
5914b7a59a
--server with scheme:// 2015-05-09 19:53:31 +00:00
Jakub Warmuz
42e7ec4bd2
CLI: use_curses -> text_mode
Previously, the --help output seemed to be broken:

-t, --text            Use the text output instead of the curses UI.
                      (default: True)
2015-05-09 19:51:02 +00:00
Jakub Warmuz
29fdde5f5f
Dockerfile: set PATH 2015-05-09 18:50:40 +00:00
Jakub Warmuz
a3c8753dcf
Fix client to work with cert_chain_uri, "is (not) None" fixes 2015-05-09 15:09:29 +00:00
Jakub Warmuz
2141126608
clean up disco logging 2015-05-09 07:36:52 +00:00
Jakub Warmuz
e415a63d1f
PluginsRegistry.plugins -> PluginsRegistry._plugins 2015-05-09 07:33:50 +00:00
Jakub Warmuz
75a7b7605b
PluginsRegistry.find_init 2015-05-09 07:33:50 +00:00
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