summaryrefslogtreecommitdiffstats
path: root/so-monitoring/so-monitoring-service
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2020-08-20 13:44:38 +0200
committerKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2020-09-01 19:32:34 +0200
commitec03ac8f7467df54925fef4f5d821c0bcdfcb546 (patch)
tree78bfca9bdb24912b7498ffcae6032517cb6ac46f /so-monitoring/so-monitoring-service
parent8130b6d10da62329f3f43b7819f40ecf02282ffa (diff)
Enable HTTPS in SO-Monitoring
Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Issue-ID: SO-2920 Change-Id: I8c0d5a4c68c23daa885bfb1e0d4a1f08438e6761
Diffstat (limited to 'so-monitoring/so-monitoring-service')
-rw-r--r--so-monitoring/so-monitoring-service/pom.xml18
-rw-r--r--so-monitoring/so-monitoring-service/src/main/resources/application.yaml12
-rw-r--r--so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.p12bin0 -> 4071 bytes
-rw-r--r--so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.trust.jksbin0 -> 1413 bytes
4 files changed, 29 insertions, 1 deletions
diff --git a/so-monitoring/so-monitoring-service/pom.xml b/so-monitoring/so-monitoring-service/pom.xml
index 6671ac56d4..4a0f6cbe1d 100644
--- a/so-monitoring/so-monitoring-service/pom.xml
+++ b/so-monitoring/so-monitoring-service/pom.xml
@@ -104,6 +104,24 @@
</executions>
</plugin>
</plugins>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ <excludes>
+ <exclude>**/*.p12</exclude>
+ <exclude>**/*.jks</exclude>
+ </excludes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>false</filtering>
+ <includes>
+ <include>**/*.p12</include>
+ <include>**/*.jks</include>
+ </includes>
+ </resource>
+ </resources>
</build>
</project>
diff --git a/so-monitoring/so-monitoring-service/src/main/resources/application.yaml b/so-monitoring/so-monitoring-service/src/main/resources/application.yaml
index dbccb76979..ef0b6aa786 100644
--- a/so-monitoring/so-monitoring-service/src/main/resources/application.yaml
+++ b/so-monitoring/so-monitoring-service/src/main/resources/application.yaml
@@ -1,8 +1,12 @@
server:
+ ssl:
+ keyStore: classpath:org.onap.so.p12
+ keyStorePassword: 6IxlmmPs:HqNhzVP#VFuSs,%
+ trustStore: classpath:org.onap.so.trust.jks
+ trustStorePassword: 72z0TFN&xfSR;;&NrIP^QB,^
port: 9091
tomcat:
max-threads: 50
-ssl-enable: false
camunda:
rest:
api:
@@ -19,3 +23,9 @@ mso:
spring:
main:
allow-bean-definition-overriding: true
+ security:
+ usercredentials:
+ -
+ username: gui
+ password: '$2a$10$ndkDhATUid4a3g0JJVRv2esX4rtB.vzCn7iBhKyR1qZ/wDdvNzjTS'
+ role: GUI-Client
diff --git a/so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.p12 b/so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.p12
new file mode 100644
index 0000000000..8fa921a884
--- /dev/null
+++ b/so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.p12
Binary files differ
diff --git a/so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.trust.jks b/so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.trust.jks
new file mode 100644
index 0000000000..39c310e27e
--- /dev/null
+++ b/so-monitoring/so-monitoring-service/src/main/resources/org.onap.so.trust.jks
Binary files differ