octavia/octavia/common
Bharath M f4da51c27d Add CA Cert file config option to validate against SSL endpoints
Currently Octavia cannot validate against SSL service endpoints,
which would be keystone, neutron, nova and glance in this case.

This patch adds a config option under nova, neutron and glance
sections to read the specified CA certificate files
for validation. It's slightly different in the case of glance,
because glance session method invocations depend on the endpoint
URL whether it starts with HTTP or HTTPS.

Also added is the "insecure" option for these services in case
the cert validation needs to be skipped.

For keystone, we read config params from keystone middleware. Thus,
instead of defining a new config option, we can make use of it's
pre-defined "cafile".

Barbican is not added because we do not yet have a barbican endpoint
override in it's config. This could be added in the future as a
separate patch, if needed.

Lastly, unrelated to the above, fixes the amphora REST api default
bind_port in octavia.conf

Change-Id: Id57672a3dc7c962b8ee07db0cb7a743041082c66
Closes-Bug: #1552987
2016-03-09 10:15:44 -08:00
..
jinja Add L7 jinja template updates 2016-02-23 17:55:14 -08:00
tls_utils Remove OpenSSL from cert_parser 2016-01-10 23:35:10 -06:00
__init__.py Initial directory skeleton 2014-09-04 15:28:10 -06:00
base_taskflow.py Drop use of 'oslo' namespace package 2015-06-17 15:57:42 +00:00
clients.py Add CA Cert file config option to validate against SSL endpoints 2016-03-09 10:15:44 -08:00
config.py Add CA Cert file config option to validate against SSL endpoints 2016-03-09 10:15:44 -08:00
constants.py Get Me A Load Balancer Controller 2016-02-29 17:18:45 -06:00
context.py Expose project_id in octavia api 2015-12-08 18:01:27 -06:00
data_models.py Implements: blueprint anti-affinity server group 2016-02-24 10:42:06 -08:00
exceptions.py glance: support relying on tags to extract image id 2016-03-01 20:43:33 +01:00
keystone.py Add CA Cert file config option to validate against SSL endpoints 2016-03-09 10:15:44 -08:00
service.py Remove unused logging import 2016-01-15 16:29:01 +08:00
utils.py Amphora Flows and Drivers for Active Standby 2015-12-03 23:27:20 +00:00
validate.py Update repos for L7 rules / validations 2016-02-23 17:37:07 -08:00