From: r.bogacki Date: Mon, 29 Jul 2019 09:42:22 +0000 (+0200) Subject: HTTPS calls into sdc-workflow-designer-be X-Git-Tag: 1.6.1~23 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F82%2F92182%2F1;p=sdc%2Fsdc-workflow-designer.git HTTPS calls into sdc-workflow-designer-be Implement HTTPS calls into sdc-workflow-designer-be -Added p12 certificate. -Updated application configuration. Issue-ID: SDC-2479 Signed-off-by: Robert Bogacki Change-Id: I80dd694452a253a93627850a901b17f217d8366b --- diff --git a/workflow-designer-be/src/main/resources/application.properties b/workflow-designer-be/src/main/resources/application.properties index d189fbb0..e7224a75 100644 --- a/workflow-designer-be/src/main/resources/application.properties +++ b/workflow-designer-be/src/main/resources/application.properties @@ -1,5 +1,5 @@ #/ -# Copyright © 2016-2018 European Support Limited +# Copyright � 2016-2018 European Support Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ server.servlet.context-path=/ http.port=${HTTP_PORT:8080} server.port=${SERVER_PORT:8443} -server.ssl.enabled=${SERVER_SSL_ENABLED:false} -server.ssl.key-password=${SERVER_SSL_KEY_PASSWORD:} -server.ssl.key-store=${SERVER_SSL_KEYSTORE_PATH:} -server.ssl.key-store-type=${SERVER_SSL_KEYSTORE_TYPE:} +server.ssl.enabled=${SERVER_SSL_ENABLED:true} +server.ssl.key-password=${SERVER_SSL_KEY_PASSWORD:rTIS;B4kM]2GHcNK2c3B4&Ng} +server.ssl.key-store=${SERVER_SSL_KEYSTORE_PATH:classpath:org.onap.sdc.p12} +server.ssl.key-store-type=${SERVER_SSL_KEYSTORE_TYPE:PKCS12} -sdc.be.protocol=${SDC_PROTOCOL:} +sdc.be.protocol=${SDC_PROTOCOL:https} sdc.be.endpoint=${SDC_ENDPOINT:} sdc.be.external.user=${SDC_USER:} sdc.be.external.password=${SDC_PASSWORD:} @@ -55,4 +55,4 @@ logging.file=${java.io.tmpdir}/application.log logging.pattern.console= %d{yyyy-MM-dd HH:mm:ss} - %msg%n # Logging pattern for file -logging.pattern.file= %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg% \ No newline at end of file +logging.pattern.file= %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg% diff --git a/workflow-designer-be/src/main/resources/org.onap.sdc.p12 b/workflow-designer-be/src/main/resources/org.onap.sdc.p12 new file mode 100644 index 00000000..ee000dc7 Binary files /dev/null and b/workflow-designer-be/src/main/resources/org.onap.sdc.p12 differ