Commit Graph
4706 Commits
Author SHA1 Message Date
Peter Eckersley b1de1cd289 Merge pull request #2093 from watercrossing/mixedListenFix
Fix for another apache configuration `Listen` special case
2016-01-05 12:32:31 -08:00
Reinaldo de Souza Jr 20829e05ed Add missing test condition for prepare() 2016-01-05 15:15:29 -05:00
Reinaldo de Souza Jr adcb7934ae Improve choose_vhost() test by verifying the output file 2016-01-05 14:55:10 -05:00
Reinaldo de Souza Jr cf74446b58 Add test for redirect enhancement 2016-01-05 14:54:48 -05:00
Fan JiangandReinaldo de Souza Jr 0b9f505ed5 update document for --chain-path when required by Nginx >= 1.3.7 2016-01-05 14:49:15 -05:00
Reinaldo de Souza Jr 5b5051b6ce The notes should display the fullchain_path
See d01b17f1 and dd8c6d65
2016-01-05 14:45:23 -05:00
Reinaldo de Souza Jr e8fc2eca01 nginx plugin requires fullchain_path 2016-01-05 14:45:23 -05:00
Reinaldo de Souza Jr 74237d1010 Requires chain_path for nginx versions supporting OCSP stapling
--chain-path config is not mandatory, so we require this property if nginx
supports OCSP stapling.

Alternatively, we could disable OCSP stapling on supported nginx versions if
--chain-path is missing.
2016-01-05 14:45:23 -05:00
Jacob Hoffman-Andrews 4adc282631 Fix formatting of error messages. 2016-01-05 11:02:58 -08:00
Jacob Hoffman-Andrews f7fad9a4af Show error detail to the user.
Previously this code would show the user a hardcoded message based on the error
type, but it's much more useful to show the error detail field, which often
helps debug the problem.
2016-01-05 10:51:59 -08:00
watercrossing 4d3d6ff031 Fix for listen bug 2016-01-05 16:51:34 +00:00
Wilfried Teiken 4b4447df24 Merge branch 'test-add_dns01_challenge' into add_dns01_challenge 2016-01-04 19:48:30 -05:00
Wilfried Teiken 7747dc8488 Remove non-compliant hexdigit encoding for dns-01 challenges (#2052 is now
merged).
2016-01-04 19:46:28 -05:00
Wilfried Teiken 74a9703269 Style fix 2016-01-04 16:16:42 -05:00
Jacob Hoffman-Andrews e722a38197 Clarify parser check for duplicate values. 2016-01-04 11:18:13 -08:00
Alex Gaynor 0454031cce Fixed a pair of typos in docstrings 2016-01-03 14:37:08 -05:00
Wilfried Teiken 97fb1a03f9 Documentation fixes. 2016-01-03 13:19:32 -05:00
Alex Gaynor dc3a2da9b1 Fixed a typo in a comment 2016-01-03 10:49:50 -05:00
Peter Eckersley be4d56c353 Merge pull request #2041 from kuba/ietf-gh-pages
Use GH pages for IETF spec repo link
2016-01-02 18:07:25 -08:00
Peter Eckersley b6531afb8d Merge pull request #1992 from letsencrypt/apache-conf-test
Apache conf tests in travis
2016-01-02 17:49:38 -08:00
Peter Eckersley fcf79319ff Merge pull request #2042 from kuba/example-server-uri-dev
Staging URI in dev-cli.ini example
2016-01-02 17:46:59 -08:00
Peter Eckersley 082df18e26 Merge pull request #2038 from joohoi/apache_constants
Abstract the remaining OS specific constants from the code
2016-01-02 17:45:51 -08:00
Wilfried Teiken 64f3f53467 Fix 2016-01-02 13:51:37 -05:00
Wilfried Teiken 7e2a1532ef Move dns record retrieval into a separate method. 2016-01-02 12:53:47 -05:00
Jacob Hoffman-Andrews 8f984bd24f Better Nginx error handling.
Raise MisconfigurationError on restart failure, so we don't attempt to continue
with an authorization we know will fail.

Log at debug level the config files that are about to be written out, so it's
easier to debug restart failures.

Fix https://github.com/letsencrypt/letsencrypt/issues/942:
Error out if adding a conflicting directive.

Remove unnecessarily-inserted access_log and error_log directives. These were
added to make integration testing easier but are no longer needed. Incidentally
this makes the plugin work with some configs where it wouldn't have worked
previously.

Change the semantics of add_server_directives with replace=True so only the
first instance of a given directive is replaced, not all of them. This works
fine with the one place in the code that calls add_server_directives with
replace=True, because all of the involved directives aren't allowed to be
duplicated in a given block.

Make add_http_directives do inserts into the structure itself, since its needs
were significantly different than the more general add_server_directives. This
also allows us to narrow the scope of the `block.insert(0, directive)` hack that
we inserted to work around https://trac.nginx.org/nginx/ticket/810, since it's
only necessary for http blocks.
2016-01-01 23:09:44 -08:00
Wilfried Teiken ffc2b1ee78 - Lint fixes
- Add test for multiple TXT records returned
- Add extra parameter in DNS01.validation to select hexdigit vs. bas64 encoded
  validation
2016-01-02 01:42:47 -05:00
Wilfried Teiken 55ca1b484f Initial verison of DNS-01 implementation 2016-01-01 20:55:52 -05:00
Jakub Warmuz 7788799a9b Staging URI in dev-cli.ini example 2015-12-29 08:55:13 +00:00
Jakub Warmuz fd4f6fb2ee Use GH pages for IETF spec repo link 2015-12-29 08:47:14 +00:00
Joona Hoikkala 3fadfb5444 Fixed the find exe condition 2015-12-28 15:56:24 +02:00
Joona Hoikkala ab069741f2 Fix tests 2015-12-28 14:03:50 +02:00
Joona Hoikkala e3358bb153 Abstract the remaining commands to configurable ones 2015-12-28 13:47:14 +02:00
Joona Hoikkala 83812dc16a Abstract config file matching to os based constants 2015-12-28 12:56:44 +02:00
Peter Eckersley f20cd73e8d For now, disable apacheconftest in travis :( 2015-12-26 20:16:41 -08:00
Peter Eckersley ffd0d5aa56 Merge pull request #1811 from joohoi/multios_apache
Support apache plugin in different operating systems
2015-12-25 14:50:17 -08:00
Peter Eckersley 3e762483c5 Merge pull request #2021 from letsencrypt/revert-2009-issue_2002
Revert "Issue 2002" (logging function was actually calling an interactive iDisplay notification)
2015-12-25 13:25:42 -08:00
Peter Eckersley d6dcfa7b7f Revert "Issue 2002" 2015-12-25 13:18:19 -08:00
Peter Eckersley df56e850d3 Merge remote-tracking branch 'origin/master' into faster-testfarm 2015-12-25 11:38:43 -08:00
Peter Eckersley 3e1bc19e0f Optional flag for faster AMIs 2015-12-25 10:43:52 -08:00
TheNavigat f5a0268f17 Adding Python 2.6/2.7 note to the docs 2015-12-25 20:09:42 +02:00
Peter Eckersley 6029bd5fe4 Merge pull request #2013 from letsencrypt/testfarm
Fixes to test farm scripts
2015-12-25 03:20:15 -08:00
Peter Eckersley e0837ad41f [letstest] create & reuse a persistent boulder server
Reduces minimum multitester.py runtime to just a bit under 10 minutes
2015-12-25 02:39:48 -08:00
Joona Hoikkala 155469b51c Merge remote-tracking branch 'upstream/master' into multios_apache 2015-12-25 10:18:56 +02:00
Joona Hoikkala c728219bc9 Changed define and version commands from string to list to avoid unneeded parsing later on 2015-12-25 10:18:24 +02:00
Peter Eckersley dc5c0933df Definitely need --debug for this 2015-12-24 21:39:28 -08:00
Peter Eckersley c271dc58ce Fix the letsencrypt-auto update script 2015-12-24 20:55:44 -08:00
Peter Eckersley e3263557d2 Merge pull request #2007 from Natim/remove-requests-from-setup.py
Move validator to compatibility-test — Refs #1997
2015-12-24 12:53:54 -08:00
Peter Eckersley 32f2e2f326 Merge pull request #2009 from SwartzCr/issue_2002
Issue 2002
2015-12-24 12:37:01 -08:00
Noah Swartz ea2c86b926 fixed linting and added logger 2015-12-23 16:08:33 -08:00
Rémy HUBSCHER 6a026597f4 Move validator to compatibility-test — Refs #1997 2015-12-24 00:41:27 +01:00