Commit Graph
4201 Commits
Author SHA1 Message Date
Peter Eckersley 2447e61d32 Merge pull request #1509 from mattbostock/patch-1
Add missing 'a' before 'safe'
2015-11-14 19:51:01 -08:00
Peter Eckersley 7157ab1b76 Merge pull request #1496 from letsencrypt/key_path_help
Update key_path help
2015-11-14 19:40:25 -08:00
Peter Eckersley 974cdf6f22 Merge pull request #1508 from samlanning/python-version-order-check
Check for python2.7 before python2 in letsencrypt-auto
2015-11-14 19:37:11 -08:00
Matt Bostock b508815b08 Add missing 'a' before 'safe'
Add an 'a' before the word 'safe' so that the sentences about protecting `privkey.pem` makes sense.
2015-11-14 22:03:16 +00:00
Liam Marshall e6113698f2 Test that no fullchain throws an error 2015-11-14 14:28:17 -06:00
Liam Marshall a1e6db2144 Fix logic in which the --fullchain error would never be hit 2015-11-14 14:27:38 -06:00
Liam Marshall 691abdc377 Fix for py26 (it doesn't have set literals) 2015-11-14 12:00:08 -06:00
Liam Marshall 425bb98bed Fix lint warnings 2015-11-14 11:44:03 -06:00
Liam Marshall 361b67276e Rewrite certificate install logic
Tests are being written
2015-11-14 11:43:54 -06:00
Sam Lanning 339bb97137 Check for python2.7 before python2
There are cases where more than one version of python2 is installed, and where
the default is not 2.7. For example in CentOS 6, it is common for both 2.6 and
2.7 to be installed, as yum requires 2.6 apparently for some reason.
2015-11-14 14:33:35 +00:00
Felix Yan 324ebf468d Update tox.ini to run acme tests with Python 3.5 2015-11-14 21:09:03 +08:00
Rémy Léone 1014cf5d9e Dict can be litteral 2015-11-14 14:06:32 +01:00
bmw 151c674cba Merge pull request #1455 from letsencrypt/useragent
Add a User Agent string for client analytics
2015-11-13 17:45:53 -08:00
Peter Eckersley d8a32eeeb5 Chase all the mock threads all over the place 2015-11-13 17:38:55 -08:00
Liam Marshall 9bf1b99b5b Remove existing SSL directives for SSL vhosts 2015-11-13 17:16:50 -06:00
Brad Warren cac39c7504 fixes #1490 2015-11-13 14:02:34 -08:00
Liam Marshall 16659b5433 Add minus option to _remove_existing_ssl_directives()
Add test case as well.
2015-11-13 15:59:16 -06:00
bmw 2aab8782ae Merge pull request #1493 from letsencrypt/no-more-lies
Fixed docstring
2015-11-13 13:32:20 -08:00
Peter Eckersley 2433de8cba Attempt to update revoke() cases [not yet working] 2015-11-13 12:48:44 -08:00
Peter Eckersley 7e1a59ab29 Address review comments 2015-11-13 12:48:38 -08:00
Jeff Hodges d3806a926c use boulder's integration-test.py
This prevents the integration tests from getting run before the boulder
processes have finished booting in most cases. There's still some small
races with debug ports going up before RPC ports, but this flushes the
big ones (specifically, the WFE ports), and the boulder devs going to
fix the rest in integration-test.py over time.

This also makes boulder-start.sh a blocking operation. Now the TravisCI
integration tests no longer requires boulder-start.sh, we can let the
other priority of being easier for users to control (that is, basically,
make it easy to Ctrl-C) take over. That plus the idea that
self-daemonizing code is tricky to get right, especially over multiple
platforms led me to not trying to get start.py to make itself
asynchronous.

Most of this change is code movement in order to allow developers to run
boulder-start.sh once and boulder-integration.sh many times while also
not duplicating that code in order to run the tests in TravisCI.

I'm not a huge fan of both the letsencrypt's shell scripts and boulder's
integration-test.py having hard-coded file dependencies in the other's
repo.

This, however, seemed like the smallest path to code that would
spuriously break less. All the designs I was able to come up that were
maybe smaller changes either had the "starts tests before the servers
are up" problem or with a "each repo uses another repo's test code file"
problem. Those problem on top of the "it's a bigger change" problem led
me here.
2015-11-13 12:39:29 -08:00
Brad WarrenandPeter Eckersley eea9aa752a Tests for the 'revoke' verb 2015-11-13 10:06:49 -08:00
Peter Eckersley e8cf095ef3 Fix merge glitch
(somehow this was lost from the previous commit)
2015-11-13 09:56:50 -08:00
bmw 5c638bea38 Merge pull request #1487 from letsencrypt/whichhunt
Replace "which" with "command -v"
2015-11-13 09:50:44 -08:00
Brad Warren 5c09b24e19 Fixed docstring 2015-11-13 09:00:54 -08:00
Nav 6760355a23 Added more logging 2015-11-13 11:44:10 +02:00
Peter Eckersley a45de558de Merge remote-tracking branch 'origin/master' into useragent 2015-11-13 01:39:27 -08:00
Peter Eckersley 3551ffbd64 Replace "which" with "command -v"
Since the latter is at least semi-POSIX compliant:

http://pubs.opengroup.org/onlinepubs/009696899/utilities/command.html

Avoids the need for #1486
2015-11-13 01:31:14 -08:00
Peter Eckersley 4cfd22e31f Merge pull request #1479 from joohoi/domains_flag
Possibility to use comma separated list of domains in config files and cli
2015-11-13 01:22:35 -08:00
Nav cec5bb8b84 Adding logging for _consistent 2015-11-13 11:13:31 +02:00
Peter Eckersley 510da48263 Merge pull request #1439 from joohoi/modmacro_fix
More robust way of detecting the mod_macro vhosts
2015-11-13 00:41:14 -08:00
Peter Eckersley 765f601d41 Merge pull request #1477 from joohoi/fix_1454_tests
Fix test broken by #1454 if nginx installation not present in system
2015-11-13 00:35:31 -08:00
Peter Eckersley c7b1bc8c29 Merge pull request #1485 from TheReverend403/patch-1
Update readme to reflect current commands
2015-11-13 00:34:37 -08:00
Peter Eckersley ac3c11b1c1 Merge pull request #1457 from letsencrypt/apache_rollback
Apache rollback
2015-11-13 00:25:37 -08:00
Peter Eckersley 5d9c32b583 Merge pull request #1483 from letsencrypt/absolute2
Absolute paths (fixes #836)
2015-11-13 00:22:23 -08:00
Lee Watson 0db3814c13 Update readme to reflect current commands
auth -> certonly
2015-11-13 08:15:09 +00:00
Liam Marshall 0af0beaeb7 Remove useless SSL removal on non-SSL vhosts 2015-11-12 22:27:05 -06:00
Peter Eckersley 3687197db8 Move user agent selection into client.py
Along the way refactoring revocation and recording of chosen plugins.
2015-11-12 19:52:32 -08:00
Brad Warren 31b984adc5 Test RenwerConfiguration 2015-11-12 18:34:46 -08:00
Brad Warren 82614df6f0 What do YOU think os.path.isabs(mock.MagicMock()) returns? 2015-11-12 18:30:37 -08:00
Brad Warren b408ec765d Test absolute paths are used 2015-11-12 18:20:00 -08:00
Brad Warren 778b8797bb Ensure config_dir, work_dir, and logs_dir have absolute paths 2015-11-12 18:17:10 -08:00
Brad Warren 1dd1523680 Added cert, key, chain, and fullchain abspath tests 2015-11-12 17:47:36 -08:00
Brad Warren dc78f811ce Make cert_path,key_path,chain_path,fullchain_path absolute 2015-11-12 17:33:40 -08:00
Peter Eckersley 1bfd44ea34 Address review comments:
- make --user-agent a general CLI option
 - get_os_info return type
2015-11-12 17:31:32 -08:00
Brad Warren 707df3d2c6 Add read_file tests 2015-11-12 17:27:56 -08:00
Liam MarshallandPeter Eckersley 2a820a391f Try reenabling container-based infrastructure
Try explicitly pulling from backports

Try travis's whitelisted Augeas PPA (not ours or backports)
2015-11-12 17:25:18 -08:00
Brad Warren 211ca2420f Make read_file use abspath 2015-11-12 17:19:26 -08:00
Liam Marshall 108757e332 Fall back to old cert method if fullchain isn't provided 2015-11-12 17:45:33 -06:00
Peter Eckersley 928534f890 Merge pull request #1481 from letsencrypt/plugins
Fixes plugins command
2015-11-12 15:33:17 -08:00