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
Wilfried Teiken
e1b4797cbf
Change the semantics of query_registration and update_registration to set
...
new_authzr_uri from the server if available
2016-01-05 01:12:21 -05:00
Jacob Hoffman-Andrews
e722a38197
Clarify parser check for duplicate values.
2016-01-04 11:18:13 -08:00
sagi
a718cfede0
Copy only relevant lines from http vhost to ssl vhost skeleton
2016-01-03 22:03:47 +00: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
Peter Eckersley
77ec944da1
One more apache unit test
2016-01-01 17:10:57 -08:00
Peter Eckersley
59f68d074f
Clean-ups & lint chasing
2016-01-01 15:34:06 -08:00
Peter Eckersley
96f704f577
Test cases for various error cases (and associtated bugfixes)
2016-01-01 15:29:34 -08:00
Peter Eckersley
b5828d92ad
Test cases for NoninteractiveDisplay
...
(and one of the associated bugfixes :)
2015-12-30 16:07:25 -08:00
Peter Eckersley
d358c8d1c0
Correct docstrings & associated typing confusion
2015-12-30 15:52:51 -08:00
Peter Eckersley
ef09362a9f
bugfix
2015-12-30 15:48:59 -08:00
Peter Eckersley
833e61a411
Update usage to be letsencrypt-auto or letsencrypt, as appropriate
2015-12-30 15:14:34 -08:00
Peter Eckersley
50fa6c7f22
Error helpfully on "letsencrypt --standalone"
...
- Also refactor choose_configurator_plugins a bit
2015-12-30 15:10:02 -08:00
Peter Eckersley
548ba6b655
lint
2015-12-29 20:26:55 -08:00
Peter Eckersley
7daf773c73
Handle noninteractiv calls to iDisplay.checklist()
2015-12-29 20:23:23 -08:00
Peter Eckersley
5ed9ac5ae6
Handle non-interactivity of iDisplay.input()
2015-12-29 20:02:33 -08:00
Peter Eckersley
7626975248
Make iDisplay.menu() calls non-interactive where possible
...
- And provide helpful errors where they're not
2015-12-29 14:21:05 -08:00
Peter Eckersley
4e0b010d3d
Improve interface docstrings
2015-12-29 14:06:40 -08:00
Peter Eckersley
78f188968a
Update the plugin help to say something that always makes sense
...
(Even if you do --help plugins)
This can change again when #1460 is done
2015-12-29 13:25:43 -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
Peter Eckersley
430604b63f
Add flag to enable non-interactivity
2015-12-29 00:12:08 -08:00
Peter Eckersley
6daaa7a763
Add defaults / cli_flags for yesno() input
2015-12-29 00:03:57 -08:00
Peter Eckersley
d471169b6b
Add default-handling to the iDisplay interface
...
(and the other iDisplay implementations)
2015-12-28 23:47:32 -08: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
4f33a4dbb5
Noninteractive iDisplay basic implementation
...
(no tests or hooks, yet)
2015-12-27 15:24:52 -08:00
Peter Eckersley
c3c4c6c632
Begin work on a noninteractive iDisplay
2015-12-27 14:35:13 -08:00
evilaliv3
edfa79fc5c
Set python version in the travis matrix
2015-12-27 21:56:37 +01: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
99cedef922
Merge branch 'fixed-0.1.1' into merged-fixed-0.1.1
2015-12-25 14:00:42 -08:00