1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00
Commit Graph

3761 Commits

Author SHA1 Message Date
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 Marshall
108757e332 Fall back to old cert method if fullchain isn't provided 2015-11-12 17:45:33 -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
Peter Eckersley
e653aa49f8 Merge pull request #1407 from devnsec-com/pr10
Fixes 2 lines of code that could cause IndexError in the nginx plugin
2015-11-07 09:11:25 -08:00
Dev & Sec
6bcbe641bd fix 2 IndexErrors in the nginx plugin 2015-11-07 16:21:47 +00:00
Peter Eckersley
e04c67ba8c Merge pull request #1404 from kuba/acme-ua
User-Agent support in acme (default: `acme-python`, fixes #1351).
2015-11-07 02:57:08 -08:00
Jakub Warmuz
dc60cdbc7d User-Agent support in acme (default: acme-python, fixes #1351).
In order to override the default (`acme-python`), clients (including
Let's Encrypt: #858, #1397) should create a custom
acme.clietn.ClientNetwork object and pass it to
acme.client.Client.__init__.
2015-11-07 08:55:54 +00:00
Peter Eckersley
fc8af6b341 Merge pull request #1382 from koobs/patch-1
Add FreeBSD port/package to documentation (Usage)
2015-11-06 16:00:17 -08:00
bmw
50fc3321f3 Merge pull request #1381 from jimt/patch-1
Fix typo.
2015-11-06 13:02:40 -08:00
bmw
1d0b9b5ad5 Merge pull request #1387 from lucebac/master
Fixed typo in script name when trying to boostrap for manjaro
2015-11-06 10:20:00 -08:00
Luca Ebach
05b95b9166 Fixed typo in script name when trying to boostrap for manjaro 2015-11-06 14:16:12 +01:00
Kubilay Kocak
d054d05ea9 Add FreeBSD port/package to documentation
* Rename Distro's to Operating Systems
* Add instructions for FreeBSD port and package installation
2015-11-06 19:54:50 +11:00
Jim Tittsler
d67d04ecd7 Fix typo. 2015-11-06 16:47:38 +09:00
bmw
c8efa0acb8 Merge pull request #1361 from letsencrypt/both
Require --debug for many things, including python2.6 platforms
2015-11-05 20:21:09 -08:00
Peter Eckersley
24651e6b3f Handle py2.6 correctly ; be precise in documentation 2015-11-05 19:42:13 -08:00
Peter Eckersley
c0dd6e1dc8 Document --debug voodoo :) 2015-11-05 19:09:40 -08:00
Peter Eckersley
987840a539 Archlinux is tested 2015-11-05 19:09:38 -08:00
Peter Eckersley
a5c0aee175 Merge pull request #1291 from SwartzCr/issue_809
[needs revision] Embed Augeas Httpd lens
2015-11-05 16:39:21 -08:00
Peter Eckersley
f67fab6f5f Merge pull request #1360 from cure/patch-1
Remove another reference to simplehttp
2015-11-04 19:52:47 -08:00
Peter Eckersley
9d4049cef0 Merge pull request #1366 from ArchimedesPi/pr-look-at-known-issues
Add notices about known issues to docs
2015-11-04 19:52:09 -08:00
Noah Swartz
5fd4ed9d9d added documentation explaining why we're loading lens 2015-11-04 19:43:11 -08:00
Noah Swartz
af5ab05a58 Revert "switched the httpd.aug to the version from 1.2"
This reverts commit 60fce0b22e.
2015-11-04 19:34:24 -08:00
Liam Marshall
593b4b5eec Add notices about known issues to docs 2015-11-04 21:31:18 -06:00
Peter Eckersley
2029a3dfaa Merge pull request #1358 from ArchimedesPi/travis-trusty-beta
Test enabling builds on beta Trusty infrastructure [needs revision]
2015-11-04 19:16:19 -08:00
Peter Eckersley
b2415a53b0 Merge pull request #1364 from letsencrypt/fix_rollback
Fixes rollback of bad installation
2015-11-04 19:11:27 -08:00
Brad Warren
e9a17ce2d1 Moar logging 2015-11-04 19:06:14 -08: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
Brad Warren
86d68f6028 fixes #998 2015-11-04 18:32:17 -08:00
Peter Eckersley
573f32c748 React badly to python <= 2.5; let the user set LE_PYTHON 2015-11-04 18:09:05 -08:00
Ward Vandewege
fc7dad116b Remove another reference to simplehttp
Since the command `a2enconf letsencrypt` is listed on this page, make sure the config file is named accordingly.
2015-11-04 21:07:04 -05:00
Peter Eckersley
167cf008d0 Merge the streams fully: python2.6 triggers --debug requirement 2015-11-04 17:13:38 -08:00
Peter Eckersley
3faa93ab28 Merge remote-tracking branch 'kuba/auto-2.6-squeeze' into both
Combining the --debug gating changes with Kuba's 2.6 support
2015-11-04 17:09:44 -08:00
Peter Eckersley
abfa6db83f elif nit 2015-11-04 16:51:13 -08:00
bmw
c1af86082d Merge pull request #1336 from kuba/webroot-ct-snippets
Content-Type=text/plain for webroot snippets
2015-11-04 15:29:06 -08:00
Peter Eckersley
d2f1ae9c38 Require --debug for letsencrypt-auto on platforms thare aren't regularly tested
Mitigates: #1270 #1196
2015-11-04 13:59:50 -08:00
Jakub Warmuz
f5053ba8af constants.AUGEAS_LENS_DIR 2015-11-04 20:12:39 +00:00
Jakub Warmuz
ac137fc00a Merge remote-tracking branch 'github/letsencrypt/master' into test-embed-lens 2015-11-04 19:38:43 +00:00
Jakub Warmuz
9e8ce90cea Content-Type=text/plain for webroot snippets 2015-11-04 18:06:34 +00:00
Peter Eckersley
de182946b5 Merge pull request #1314 from kuba/crlf
CRLF: unix2dos docs/make.bat
2015-11-04 00:25:27 -08:00