summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/dfc/configuration.rst
diff options
context:
space:
mode:
authormaximesson <maxime.bonneau@est.tech>2019-04-04 14:43:43 +0000
committerMaxime Bonneau <maxime.bonneau@est.tech>2019-04-09 07:13:43 +0000
commitc762eb18c16f5cf05ac79312bd24a7a8ab1aa664 (patch)
treede56f9b4f841e46274693e1a8b90ef77c8ae9967 /docs/sections/services/dfc/configuration.rst
parent580eae246a3ac7bf9533df96d20c0fc9b5425d3c (diff)
Update documentation
Change-Id: I2df7480401fe0371b7458962ac3535a00f287919 Issue-ID: DCAEGEN2-1389 Signed-off-by: maximesson <maxime.bonneau@est.tech>
Diffstat (limited to 'docs/sections/services/dfc/configuration.rst')
-rw-r--r--docs/sections/services/dfc/configuration.rst37
1 files changed, 28 insertions, 9 deletions
diff --git a/docs/sections/services/dfc/configuration.rst b/docs/sections/services/dfc/configuration.rst
index d57a85f1..22f50eeb 100644
--- a/docs/sections/services/dfc/configuration.rst
+++ b/docs/sections/services/dfc/configuration.rst
@@ -48,9 +48,21 @@ ftpesConfiguration
.. code-block:: json
"keyCert": <path to DFC certificate>
- "keyPassword": <pssword for DFC certificate>
- "trustedCA": <path to xNF certificate>
- "trustedCAPassword": <password for xNF certificate>
+ "keyPassword": <password for DFC certificate>
+ "trustedCa": <path to xNF certificate>
+ "trustedCaPassword": <password for xNF certificate>
+
+securityConfiguration
+"""""""""""""""""""""
+
+.. code-block:: json
+
+ "trustStorePath": <path to trust store>
+ "trustStorePasswordPath": <path to trsust store password>
+ "keyStorePath": <path to key store>
+ "keyStorePasswordPath": <path to key store password>
+ "enableDmaapCertAuth": <boolean>. If false, all information above are ignored.
+
Sample JSON configuration
@@ -87,12 +99,19 @@ The format of the JSON configuration that drives all behavior of DFC is probably
}
},
"ftp": {
- "ftpesConfiguration": {
- "keyCert": "config/ftpKey.jks",
- "keyPassword": "secret",
- "trustedCA": "config/cacerts",
- "trustedCAPassword": "secret"
+ "ftpesConfiguration": {
+ "keyCert": "config/dfc.jks",
+ "keyPassword": "secret",
+ "trustedCa": "config/ftp.jks",
+ "trustedCaPassword": "secret"
+ }
+ },
+ "security": {
+ "trustStorePath" : "change it",
+ "trustStorePasswordPath" : "change it",
+ "keyStorePath" : "change it",
+ "keyStorePasswordPath" : "change it",
+ "enableDmaapCertAuth" : "false"
}
- }
}
}