diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-11-02 15:26:55 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-11-02 15:33:17 -0400 |
commit | 022530f6c3918816f1461e756f1e9a9001364abb (patch) | |
tree | d2aaedc764283fbfae776bdfee2eb88e5e6d9bc7 /roles/openshift_metrics/handlers | |
parent | 76fca28ea37a791447974a823dc00508fbcd243a (diff) | |
download | openshift-022530f6c3918816f1461e756f1e9a9001364abb.tar.gz openshift-022530f6c3918816f1461e756f1e9a9001364abb.tar.bz2 openshift-022530f6c3918816f1461e756f1e9a9001364abb.tar.xz openshift-022530f6c3918816f1461e756f1e9a9001364abb.zip |
Where we use curl force it to use tlsv1.2
curl, prior to RHEL 7.2, did not properly negotiate up the TLS protocol, so
force it to use tlsv1.2
Fixes bug 1390869
Diffstat (limited to 'roles/openshift_metrics/handlers')
-rw-r--r-- | roles/openshift_metrics/handlers/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_metrics/handlers/main.yml b/roles/openshift_metrics/handlers/main.yml index 913f3b0ae..e119db1a2 100644 --- a/roles/openshift_metrics/handlers/main.yml +++ b/roles/openshift_metrics/handlers/main.yml @@ -17,7 +17,7 @@ # Using curl here since the uri module requires python-httplib2 and # wait_for port doesn't provide health information. command: > - curl --silent + curl --silent --tlsv1.2 {% if openshift.common.version_gte_3_2_or_1_2 | bool %} --cacert {{ openshift.common.config_base }}/master/ca-bundle.crt {% else %} |