Commit Graph
4735 Commits
Author SHA1 Message Date
Brad Warren 0b1e1d0937 Use test_util.load_cert 2016-01-06 22:07:45 -05:00
Brad Warren 94508b00df Don't pin pyparsing version 2016-01-06 21:57:15 -05:00
Brad Warren 8a1931e23c Run integration tests with old deps 2016-01-06 21:56:52 -05:00
Brad Warren 9e14af87d8 Merge branch 'master' into pyopenssl 2016-01-06 21:52:40 -05:00
Brad Warren 07b3a9fd95 Add old dependency tests to Travis 2016-01-06 21:52:14 -05:00
Brad Warren 90f0b15c9d Add old dependency test 2016-01-06 21:51:42 -05:00
Brad Warren 2f569f7783 Tox fanciness 2016-01-06 21:40:26 -05:00
Brad Warren 51bc1311a2 Fixed rogue quotes 2016-01-06 15:34:42 -05:00
Brad Warren 1cdff156c9 Add IDN test 2016-01-06 15:33:36 -05:00
Peter Eckersley b80d063d55 Merge pull request #2010 from letsencrypt/better-errors
Show error detail to the user.
2016-01-06 12:21:23 -08:00
Ben Ubois 9dc4af5cee Document webroot request path.
It's handy to know the implementation details of the webroot plugin so that a server can be configured to properly the ACME challenge files.
2016-01-06 12:10:21 -08:00
Brad Warren 96114ba84e Add IDN SANs CSR and cert 2016-01-06 15:10:08 -05:00
Brad Warren ba93c57697 Added large sans cert and csr test 2016-01-06 14:22:13 -05:00
Brad Warren 32650a6d08 Added 100 SANs cert and csr 2016-01-06 14:10:57 -05:00
Brad Warren 1af997158d Fix repr differences between PyOpenSSL versions 2016-01-06 13:39:14 -05:00
Reinaldo de Souza Jr 858dadd85b Update error message
This is supposed to not happen once #1391 is fixed.
2016-01-06 13:36:52 -05:00
Brad Warren 6f7299f9ed Merge branch 'master' into pyopenssl 2016-01-06 12:40:56 -05:00
Brad Warren 6719d0d380 Rewrote _pyopenssl_cert_or_req_san 2016-01-06 12:40:44 -05:00
Peter Eckersley ab9fa6c4c0 Merge pull request #2095 from twstrike/coverage
Add more tests to nginx plugin
2016-01-06 07:53:25 -08:00
Peter Eckersley 2f195cb9f3 Merge pull request #2062 from jsha/nginx-nodupe
Better Nginx error handling.
2016-01-05 17:42:21 -08:00
Jacob Hoffman-Andrews 0a04efe40c Fix lint error and remove extra format() 2016-01-05 17:23:32 -08:00
bmw 4c28fc417c Merge pull request #2073 from alex/more-typos
Fixed a pair of typos in docstrings
2016-01-05 18:02:19 -05:00
bmw b57371a31d Merge pull request #2072 from alex/patch-1
Fixed a typo in a comment
2016-01-05 17:53:51 -05:00
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
Joona Hoikkala ffeef67e54 Use lists to handle multiple different matching wildcards in same directory 2016-01-05 14:36:42 +02:00
Joona Hoikkala 32d5375b9b Change test to check out adding a file not already in the augeas paths 2016-01-05 13:21:18 +02:00
Joona Hoikkala 63f311eea4 Refactored the checking method to be easier to read 2016-01-05 13:16:49 +02:00
Joona Hoikkala 10a49532ae Add / replace functionality to augeas transform paths to overwrite old narrower scope if needed 2016-01-05 11:25:21 +02: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
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
Brad Warren 8680a29c9d Merge branch 'master' into pyopenssl 2016-01-02 13:11:11 -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
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