From 6626192a480fcfc9024b8366e5a5ebec61389dbf Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Wed, 20 Mar 2019 15:30:02 -0700 Subject: Changes for cdt over https Configure Spring to use an https endpoint Add sample certificates for https Set cdt to use an https url to communicate to the proxy Change-Id: Iaeee33d50c0e9ceb53226982639c289e757763a4 Signed-off-by: Patrick Brady Issue-ID: APPC-1551 --- .../src/main/resources/application.properties | 5 +++++ .../src/main/resources/keystore/cdt-store.p12 | Bin 0 -> 4196 bytes 2 files changed, 5 insertions(+) create mode 100644 CdtProxyService/src/main/resources/keystore/cdt-store.p12 (limited to 'CdtProxyService') 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 Binary files /dev/null and b/CdtProxyService/src/main/resources/keystore/cdt-store.p12 differ -- cgit 1.2.3-korg