Richard Kennedy pushed to branch master at BuildGrid / buildgrid
Commits:
-
2975041d
by RichKen at 2019-01-15T15:09:22Z
1 changed file:
Changes:
... | ... | @@ -82,9 +82,9 @@ class Channel(YamlFactory): |
82 | 82 |
client_certs = credentials['tls-client-certs']
|
83 | 83 |
self.credentials = context.load_server_credentials(server_key, server_cert, client_certs)
|
84 | 84 |
|
85 |
- if not credentials:
|
|
86 |
- click.echo("ERROR: no TLS keys were specified and no defaults could be found.\n" +
|
|
87 |
- "Set `insecure-mode: false` in order to deactivate TLS encryption.\n", err=True)
|
|
85 |
+ if not self.credentials:
|
|
86 |
+ click.echo("ERROR: load_server_credentials could not find certificates.\n" +
|
|
87 |
+ "Please check whether the specified certificate paths exist.\n", err=True)
|
|
88 | 88 |
sys.exit(-1)
|
89 | 89 |
|
90 | 90 |
|