Commit Graph
4178 Commits
Author SHA1 Message Date
Peter Eckersley ca05b35a24 Merge pull request #1412 from kuba/pep8
pep8 love
2015-11-12 00:29:15 -08:00
Peter Eckersley eda5b71a78 Merge remote-tracking branch 'origin/master' into comment 2015-11-11 23:53:42 -08:00
Peter Eckersley 9d68cda93f Merge remote-tracking branch 'origin/master' into auto 2015-11-11 23:53:21 -08:00
Peter Eckersley 29bb057ae1 Merge pull request #1470 from ArchimedesPi/try-travis-containers
Reenable containerised Travis infrastructure
2015-11-11 23:51:50 -08:00
sagi b76ef3a293 make lint happy 2015-11-12 05:25:44 +00:00
sagi 796eef802d add apply_enhancement comment 2015-11-12 05:20:10 +00:00
sagi 8185ea931c make hsts and uri cli args actually work 2015-11-12 05:08:30 +00:00
sagi b1e3c89048 add a general apply_enhancement to replace redirect_to_ssl 2015-11-12 04:49:31 +00:00
sagi 68d956f659 make redirect work again 2015-11-12 03:04:23 +00:00
sagi e787147eea dissect namespace config in enhance_config 2015-11-12 02:24:57 +00:00
sagi 17ef874c04 change args to config in enhance_config 2015-11-12 02:15:42 +00:00
Liam Marshall d2dacef313 Try reenabling container-based infrastructure
Try explicitly pulling from backports

Try travis's whitelisted Augeas PPA (not ours or backports)
2015-11-11 18:34:52 -06:00
Peter Eckersley 79646dc42d Fix misplaced verbosity from pip 2015-11-11 12:59:36 -08:00
Peter Eckersley b26a87a33c Comments on SUDO 2015-11-11 12:57:32 -08:00
Peter Eckersley 5ce9240200 Improve comments for letsencrypt-auto 2015-11-11 12:42:07 -08:00
Peter Eckersley 93faa29666 Merge pull request #1454 from pritambaral/fix/1281
Check for nginx binary before running letsencrypt-nginx
2015-11-11 12:18:57 -08:00
Peter Eckersley 64dff06f30 Merge pull request #1463 from sieben/correct_jwasignature
Redeclared names without usage
2015-11-11 12:08:14 -08:00
Peter Eckersley 33c52c106a Merge pull request #1464 from sieben/variable_already_existing
Variable key already existing in previous context
2015-11-11 12:06:12 -08:00
Peter Eckersley 28ef1eae8d Highly experimental Amazon Linux bootstrapping 2015-11-11 11:24:41 -08:00
sagi 9ad38e9b37 Pass args to enhance_config instead of just a redirect flag 2015-11-11 19:04:07 +00:00
Rémy Léone f02dcbbc4c Variable key already existing 2015-11-11 13:29:15 +01:00
Rémy Léone e64149cae8 Redeclared names without usage 2015-11-11 13:27:09 +01:00
Chhatoi Pritam Baral 9d30a85b29 Add test for nginx not being installed 2015-11-11 17:54:26 +05:30
Peter Eckersley 0a72ebb379 get_os_info review fixes
- handle broken platform.linux_distribution()
 - document return type
2015-11-10 20:13:44 -08:00
Peter Eckersley df8cd3e751 Merge pull request #1282 from devnsec-com/pr8
[needs revision] Use su if sudo is not available
2015-11-10 19:04:50 -08:00
bmw 95be981742 Merge pull request #1443 from joohoi/domains_help
Help text for -d flag, and refactoring the long name from plural to singular form
2015-11-10 18:00:05 -08:00
bmw 26e13c9fa7 Merge pull request #1375 from johnl/1374-docker-symlink-bug-workaround
docker: Use full filename when copying symlink
2015-11-10 17:54:36 -08:00
Liam Marshall 211c2bb33d Remove SSLCACertificatePath from removed directives
SSLCACertificatePath is sometimes important to preserve.
2015-11-10 19:41:30 -06:00
Brad Warren 7d4beacce8 Added better error messages on redirect failure 2015-11-10 16:59:22 -08:00
Peter Eckersley 7dcf8a32f4 Only send the major version of OS X 2015-11-10 16:50:58 -08:00
Peter Eckersley 8b9a271900 "Really" finalise User Agent tests
- Add an extra test for the default UA string
 - Fixes: get_os_info() is returning a tuple, not a string
 - Workaround: Argument preprocessing is dangerous for test cases
2015-11-10 16:50:58 -08:00
Peter Eckersley a4885e491a Finish user agent changes:
- revert changes to acme/, instead living with its current baroque API
 - add an extremely mockable test case
2015-11-10 16:50:57 -08:00
Brad Warren 553592b2c8 Revert "Revert all changes in cleanup, temporary or otherwise"
This reverts commit 0c197c955e.
2015-11-10 16:32:05 -08:00
Brad Warren 3c00afd55c Revert "Removed revert_challenge_config"
This reverts commit 0143d77362.
2015-11-10 16:31:52 -08:00
Chhatoi Pritam Baral 0bbe69b36a Mock existence of nginx binary 2015-11-11 05:49:34 +05:30
Brad Warren 1bb063e870 Corrected crash recovery in client and added tests 2015-11-10 16:03:18 -08:00
Chhatoi Pritam Baral 414321fca6 Fix #1281: Check if nginx binary exists 2015-11-11 04:50:16 +05:30
Brad Warren 60147eb529 Define state of checkpoints when save fails 2015-11-10 14:52:18 -08:00
Liam Marshall 1f6ef1f4b1 Add tests for existing cert removal and newcert directives 2015-11-10 16:04:23 -06:00
Joona Hoikkala 3074ef996a Refactored the argument and the code to use --domain instead of --domains, which was semantically incorrect 2015-11-10 12:29:08 +02:00
Joona Hoikkala 096c689fba Added help text for -d flag 2015-11-10 12:03:15 +02:00
Joona Hoikkala 85675d709c Case insensitive matching 2015-11-10 11:20:33 +02:00
Peter Eckersley baaeab5fa1 Fix lints & glitches 2015-11-09 22:44:26 -08:00
sagi 1880689065 Add --hsts and --uir CLI flags 2015-11-10 06:41:59 +00:00
Peter Eckersley 88cc01301a Creation & plumbing for user agent 2015-11-09 22:17:38 -08:00
Liam Marshall 30c44ef1e2 Fix lint errors 2015-11-09 22:13:36 -06:00
Liam Marshall e63fa279a4 Reintroduce cert_key, remove bad logging 2015-11-09 22:13:36 -06:00
Liam Marshall b26c138938 Wire in everything, remove cert_key
Add debug. Will be removed.

Logging
2015-11-09 22:13:36 -06:00
Liam Marshall 1d2ba931b3 Improve the implementation of the suggestion
Write the code to set directives

Fix logging in _remove_existing_ssl_directives

Fix logging statement
2015-11-09 22:13:25 -06:00
Liam Marshall 18da7dfce2 Implement @pde's suggestions for Apache
From this IRC log:
2015-11-02 16:31:29	@pdeee	for >= 2.4.8:
2015-11-02 16:32:23	@pdeee	add new SSLCertificateFile pointing to fullchain.pem
2015-11-02 16:33:10	@pdeee	remove all preexisting SSLCertificateFile, SSLCertificateChainFile, SSLCACertificatePath, and possibly other fields subject to careful research :)
2015-11-02 16:33:21	@pdeee	for < 2.4.8:
2015-11-02 16:34:03	@pdeee	add SSLCertificateFile pointing to cert.pem
2015-11-02 16:34:42	@pdeee	and SSLCertificateChainFile pointing to chain.pem
2015-11-02 16:34:50	xamnesiax	gotcha
2015-11-02 16:34:55	@pdeee	remove all preexisting/conflicting entries
2015-11-02 16:35:19	xamnesiax	Am I correct to assume that this can all be done from deploy_certs in the apache configurator?
2015-11-02 16:36:32	xamnesiax	deploy_cert *
2015-11-02 16:36:48	@pdeee	I think so
2015-11-02 16:36:59	@pdeee	again, jdkasten may wish to say more

Pull strings out for find_dir

A bit of logging

Add version logging

Logging, temporarily remove one branch

of the conditional for testing

Fix bad directive stringgrabbing code

Fix directive removal logic

Grab string from tree to be removed
2015-11-09 22:12:39 -06:00