Skip to content

Commit

Permalink
Deactivate client certificate verification for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
EnTeQuAk committed Mar 19, 2016
1 parent 9ae6385 commit 5c40101
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/keybar/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@


urlpatterns = [
url(r'^dummy/$', AuthenticatedDummyEndpoint.as_view())
url(r'dummy/$', AuthenticatedDummyEndpoint.as_view())
]
2 changes: 1 addition & 1 deletion src/keybar/conf/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# TODO: Make this a bit more automated.
KEYBAR_HOST = 'local.keybar.io:8443'

KEYBAR_VERIFY_CLIENT_CERTIFICATE = True
KEYBAR_VERIFY_CLIENT_CERTIFICATE = False

LOGGING = {
'version': 1,
Expand Down
5 changes: 4 additions & 1 deletion src/keybar/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ def get_server(debug=None):
(r'.*', web.FallbackHandler, dict(fallback=container)),
], debug=debug)

assert settings.KEYBAR_VERIFY_CLIENT_CERTIFICATE
# TODO: Make it possible to enable client-certificate verification
# only for parts of our urls, e.g the API but not directly
# the website.
# assert settings.KEYBAR_VERIFY_CLIENT_CERTIFICATE

server = httpserver.HTTPServer(
application,
Expand Down

0 comments on commit 5c40101

Please sign in to comment.