From 0ae7a7f6b40ff13a21f33e3e573d6b3ebde6bf90 Mon Sep 17 00:00:00 2001 From: Vijay Venkatesh Kumar Date: Fri, 5 Oct 2018 14:14:00 +0200 Subject: Fix mutual authentication Last version from demo. Change-Id: Ib41581bf6f9eb92a03edf8434261d3674b6e3e39 Issue-ID: DCAEGEN2-860 Signed-off-by: elinuxhenrik Signed-off-by: Vijay Venkatesh Kumar --- datafile-app-server/config/cacerts | Bin 0 -> 1403 bytes datafile-app-server/config/datafile_endpoints.json | 13 +++++++++++-- datafile-app-server/config/ftpKey.jks | Bin 0 -> 2579 bytes 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 datafile-app-server/config/cacerts create mode 100644 datafile-app-server/config/ftpKey.jks (limited to 'datafile-app-server/config') diff --git a/datafile-app-server/config/cacerts b/datafile-app-server/config/cacerts new file mode 100644 index 00000000..0cd28a92 Binary files /dev/null and b/datafile-app-server/config/cacerts differ diff --git a/datafile-app-server/config/datafile_endpoints.json b/datafile-app-server/config/datafile_endpoints.json index 5664bdeb..9da01d7b 100644 --- a/datafile-app-server/config/datafile_endpoints.json +++ b/datafile-app-server/config/datafile_endpoints.json @@ -6,8 +6,8 @@ "dmaapPortNumber": 2222, "dmaapTopicName": "/events/unauthenticated.VES_NOTIFICATION_OUTPUT", "dmaapProtocol": "http", - "dmaapUserName": "admin", - "dmaapUserPassword": "admin", + "dmaapUserName": "", + "dmaapUserPassword": "", "dmaapContentType": "application/json", "consumerId": "C12", "consumerGroup": "OpenDcae-c12", @@ -23,6 +23,15 @@ "dmaapUserPassword": "dradmin", "dmaapContentType": "application/octet-stream" } + }, + "ftp": { + "ftpesConfiguration": { + "keyCert": "config/ftpKey.jks", + "keyPassword": "secret", + "trustedCA": "config/cacerts", + "trustedCAPassword": "secret" + } } } } + diff --git a/datafile-app-server/config/ftpKey.jks b/datafile-app-server/config/ftpKey.jks new file mode 100644 index 00000000..2587b719 Binary files /dev/null and b/datafile-app-server/config/ftpKey.jks differ -- cgit 1.2.3-korg