From 6e8faac5026ff8dd438cf7222651b54808f57317 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 4 Jan 2018 15:06:50 +0800 Subject: bugfix sslerror why login SSLError: hostname 'identity.linuxfoundation.org' doesn't match 'c.sni.fastly.net' Change-Id: I46028f35a6d871b445219335c093037d305a9e7b Signed-off-by: SerenaFeng --- testapi/docker/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testapi/docker/Dockerfile b/testapi/docker/Dockerfile index 25deb26..33088c7 100644 --- a/testapi/docker/Dockerfile +++ b/testapi/docker/Dockerfile @@ -47,5 +47,11 @@ RUN git clone https://gerrit.opnfv.org/gerrit/releng-testresults /home/releng-te WORKDIR /home/releng-testresults/testapi RUN pip install -r requirements.txt + +# bugfix +# SSLError: hostname 'identity.linuxfoundation.org' doesn't match 'c.sni.fastly.net' +# hope it is a temprary, try to fix it in upstream python-cas lib +RUN sed -i '152,152s/)/,\ verify=False)/g' /usr/local/lib/python2.7/dist-packages/cas.py + RUN python setup.py install CMD ["bash", "docker/start-server.sh"] -- cgit