summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CdtProxyService/src/main/resources/application.properties5
-rw-r--r--CdtProxyService/src/main/resources/keystore/cdt-store.p12bin0 -> 4196 bytes
-rw-r--r--src/environments/environment.ts8
3 files changed, 9 insertions, 4 deletions
diff --git a/CdtProxyService/src/main/resources/application.properties b/CdtProxyService/src/main/resources/application.properties
index e8ce0d0..d33188a 100644
--- a/CdtProxyService/src/main/resources/application.properties
+++ b/CdtProxyService/src/main/resources/application.properties
@@ -1,6 +1,11 @@
#Created by Amaresh Kumar on 09/May/2018.
#=====Application level properties START======================
server.port=9191
+server.ssl.key-store-type=PKCS12
+server.ssl.key-store=classpath:keystore/cdt-store.p12
+server.ssl.key-store-password=test
+server.ssl.key-alias=cdt
+security.require-ssl=true
spring.application.name=CdtProxyService
logging.level.root=DEBUG
Djavax.net.debug=ssl;
diff --git a/CdtProxyService/src/main/resources/keystore/cdt-store.p12 b/CdtProxyService/src/main/resources/keystore/cdt-store.p12
new file mode 100644
index 0000000..c3efd89
--- /dev/null
+++ b/CdtProxyService/src/main/resources/keystore/cdt-store.p12
Binary files differ
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 6c6dcf8..fdf4c89 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -35,9 +35,9 @@ export const environment = {
checkTestStatus: 'http://' + window.location.hostname + ':8282/restconf/operations/appc-provider-lcm:action-status'
*/
// APIs for CORS proxy Service.
- getDesigns: 'http://' + window.location.hostname + ':30290/cdtService/getDesigns',
- validateTemplate: 'http://' + window.location.hostname + ':30290/cdtService/validateTemplate',
- testVnf: 'http://' + window.location.hostname + ':30290/cdtService/testVnf',
- checkTestStatus: 'http://' + window.location.hostname + ':30290/cdtService/checkTestStatus'
+ getDesigns: 'https://' + window.location.hostname + ':30290/cdtService/getDesigns',
+ validateTemplate: 'https://' + window.location.hostname + ':30290/cdtService/validateTemplate',
+ testVnf: 'https://' + window.location.hostname + ':30290/cdtService/testVnf',
+ checkTestStatus: 'https://' + window.location.hostname + ':30290/cdtService/checkTestStatus'
}; \ No newline at end of file