Commit Graph

3 Commits

Author SHA1 Message Date
Jason Hoch
c40e563292 Simplify flag checks; format 2018-06-21 11:56:36 -04:00
Jason Hoch
8223796ae7 Utilizes tlsutils in pdns 2018-06-20 16:44:13 -04:00
Stan Lagun
7e540d4158 TLS parameters support for OpenStack
TLS parameters can be passed through the following environment
variables:
* OPENSTACK_CA_FILE - CA file path
* OPENSTACK_CERT_FILE - cert file path
* OPENSTACK_KEY_FILE - key file path. Either both or none of cert/key
  must be specified
* OPENSTACK_TLS_SERVER_NAME - (optional) expected CN of the server
  certificate if differs from domain in the URL
* OPENSTACK_TLS_INSECURE - if set to yes|true|1 disables validation of
  the server certificate

Code that loads tls.Config from environment variables was extracted
into dedicated package so that it could be reused by different providers
2017-09-22 20:55:08 -07:00