42 Commits
Author SHA1 Message Date
Liam Marshall d737546dd7 Split off cleaning into a method (fixes a subtle bug) 2015-11-20 16:43:14 -06:00
Liam Marshall ca6a77bb1d Fix tests
Remove debugging print from tests

Fix lint warnings
2015-11-18 21:38:56 -06:00
Liam Marshall b19c9d858c Fix a few nits, coverage 2015-11-18 21:24:43 -06:00
Liam Marshall e5e7cef6d6 Fix conditional for fullchain_path edge cases 2015-11-18 19:22:14 -06:00
Liam Marshall 76320c2d37 Test vhost cleaning 2015-11-15 23:09:44 -06:00
Liam Marshall 62f19496da Rewrite vhost cleaning logic 2015-11-15 23:09:35 -06: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
Liam Marshall 9bf1b99b5b Remove existing SSL directives for SSL vhosts 2015-11-13 17:16:50 -06: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
Liam Marshall 0af0beaeb7 Remove useless SSL removal on non-SSL vhosts 2015-11-12 22:27:05 -06: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
Liam Marshall 108757e332 Fall back to old cert method if fullchain isn't provided 2015-11-12 17:45:33 -06: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
Liam Marshall 211c2bb33d Remove SSLCACertificatePath from removed directives
SSLCACertificatePath is sometimes important to preserve.
2015-11-10 19:41:30 -06:00
Liam Marshall 1f6ef1f4b1 Add tests for existing cert removal and newcert directives 2015-11-10 16:04:23 -06: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
Liam Marshall 593b4b5eec Add notices about known issues to docs 2015-11-04 21:31:18 -06:00
Liam Marshall 731dc212a5 Try an indirect fix (suggested by @pde)
This is a squash of several commits:

`sudo apt-get`

Add -y to apt-get install
2015-11-04 21:02:01 -06:00
Liam Marshall 94f0139c4d install mysql with apt
Hack to try to get mysql to install nicely
2015-11-04 20:57:36 -06:00
Liam Marshall 9a59647224 Enable builds on beta Trusty infrastructure 2015-11-04 20:57:36 -06:00
Liam Marshall 335cf82f13 Remove AAAA record check suggestion
Boulder doesn't support ipv6 validation, so don't confuse people
by asking them to check their AAAA record(s).
2015-10-25 18:06:25 -05:00
Liam Marshall a90013bc2d Make linter happy 2015-10-25 16:43:03 -05:00
Liam Marshall 3f22e0d6f2 test_disagree_with_ip_logging: make it fail nicely 2015-10-25 16:32:56 -05:00
Liam Marshall 0a5303ccf0 test_disagree_with_ip_logging: move, remove spurious @patches 2015-10-25 16:15:10 -05:00
Liam Marshall 88cc70b5a5 Oops, can't use the form of assertRaises on 2.6 2015-10-25 15:46:21 -05:00
Liam Marshall 17bd379017 Clean up tests 2015-10-25 15:37:23 -05:00
Liam Marshall 7e94876f73 Add a test for disagreeing with IP logging 2015-10-25 15:04:26 -05:00
Liam Marshall a21e149f74 Need to *call* mock_interaction as a function 2015-10-25 14:54:39 -05:00
Liam Marshall a88f9cdc37 Switch from Error to PluginError 2015-10-25 14:31:30 -05:00
Liam Marshall a45c4d157a Oops, copy-pasted the patch 2015-10-24 23:27:39 -05:00
Liam Marshall 2d295bce9d Better error message 2015-10-24 22:17:16 -05:00
Liam Marshall aa0c7d9932 manual_test: mock yesno interaction 2015-10-24 22:03:30 -05:00
Liam Marshall 4adc6d3269 Make pep8 happy 2015-10-24 21:50:27 -05:00
Liam Marshall a966bc0797 letsencrypt.plugins.manual: Add disclaimer about IP logging 2015-10-24 21:27:49 -05:00