diff options
author | Kanagaraj Manickam <mkr1481@gmail.com> | 2020-02-21 17:48:03 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2020-02-21 17:48:03 +0530 |
commit | fab6ab37a74f579337424fd6d83b0aaa3ea7a474 (patch) | |
tree | d5b66dea15a6dabee69e16ae2405a841f7cc42b5 /deployment/docker/src/main | |
parent | 85c6cc8a2e99312da893f8dba547137aa1c1c62d (diff) |
Enable HTTPS for CLI portal
Issue-ID: CLI-246
Change-Id: I7038c724c595608b1fe1714a3e05029c1c0ed1e7
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/docker/src/main')
-rw-r--r-- | deployment/docker/src/main/docker/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deployment/docker/src/main/docker/Dockerfile b/deployment/docker/src/main/docker/Dockerfile index 44ae2efc..d66919ad 100644 --- a/deployment/docker/src/main/docker/Dockerfile +++ b/deployment/docker/src/main/docker/Dockerfile @@ -49,7 +49,8 @@ RUN apt-get update && apt-get install -y lighttpd git curl pandoc vim && \ cp $OPEN_CLI_HOME/http/lighttpd/10-proxy.conf /etc/lighttpd/conf-enabled/ && \ cp $OPEN_CLI_HOME/installer/cli-*.zip /var/www-data/servers/open-cli/oclip.zip && \ cp $OPEN_CLI_HOME/http/web/ocomp.crt ~/.gotty.crt && \ - cp $OPEN_CLI_HOME/http/web/ocomp.key ~/.gotty.key + cp $OPEN_CLI_HOME/http/web/ocomp.key ~/.gotty.key && \ + cat $OPEN_CLI_HOME/http/web/ocomp.key $OPEN_CLI_HOME/http/web/ocomp.crt > /etc/lighttpd/ocomp.pem #openssl req -x509 -nodes -days 9999 -newkey rsa:2048 -keyout ~/.ocomp.key -out ~/.ocomp.crt -subj "/C=IN/ST=KA/L=BLR/O=CLI/CN=onap" EXPOSE 80 EXPOSE 8080 |