From 672f0c90fdbf4b5dc60cbfaaaf262e16561fdb7a Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 17 Aug 2016 11:47:46 +0200 Subject: HONEYCOMB-21 Add HTTPS for Restconf Change-Id: If8bae91ce30592971584645b8dcecdbbeb4a0ddb Signed-off-by: Maros Marsalek --- .../cert/honeycomb-keystore | Bin 0 -> 2296 bytes .../cert/honeycomb.pkcs12 | Bin 0 -> 2549 bytes .../config/WEB-INF/web.xml | 21 --------------------- .../config/honeycomb.json | 3 +++ .../honeycomb-minimal-resources/config/logback.xml | 5 +---- 5 files changed, 4 insertions(+), 25 deletions(-) create mode 100644 infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore create mode 100644 infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb.pkcs12 (limited to 'infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources') diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore new file mode 100644 index 000000000..27a263308 Binary files /dev/null and b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb-keystore differ diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb.pkcs12 b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb.pkcs12 new file mode 100644 index 000000000..e2f4fdd82 Binary files /dev/null and b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/cert/honeycomb.pkcs12 differ diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml index 4a4adfbd8..7e59a1a7d 100644 --- a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml +++ b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/WEB-INF/web.xml @@ -29,27 +29,6 @@ 1 - - - - - - - - - - - - - - - - - - - - - JAXRSRestconf /* diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json index 606f44d8a..fdfb57f9a 100644 --- a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json +++ b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json @@ -7,7 +7,10 @@ "notification-service-queue-depth": 1, "restconf-root-path": "/restconf", + "restconf-binding-address": "127.0.0.1", "restconf-port": 8181, + "restconf-https-binding-address": "0.0.0.0", + "restconf-https-port": 8443, "restconf-websocket-port": 7779, "netconf-netty-threads": 2, diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml index d3cdd6f1e..6dd4d4fc0 100644 --- a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml +++ b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml @@ -22,14 +22,11 @@ - + - - - -- cgit 1.2.3-korg