diff options
author | 2018-01-04 15:06:50 +0800 | |
---|---|---|
committer | 2018-01-04 15:06:50 +0800 | |
commit | 6e8faac5026ff8dd438cf7222651b54808f57317 (patch) | |
tree | 677e307c190231dbfd889fd28ccfcd59806d6035 | |
parent | c72bebf41dbd08facb7398fa94680d812ea38a62 (diff) |
bugfix sslerror why login
SSLError: hostname 'identity.linuxfoundation.org' doesn't match 'c.sni.fastly.net'
Change-Id: I46028f35a6d871b445219335c093037d305a9e7b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r-- | testapi/docker/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
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"] |