Update README of CertServiceClient
authorTomasz Wrobel <tomasz.wrobel@nokia.com>
Thu, 18 Jun 2020 09:06:56 +0000 (11:06 +0200)
committerTomasz Wrobel <tomasz.wrobel@nokia.com>
Fri, 19 Jun 2020 09:23:15 +0000 (11:23 +0200)
Issue-ID: AAF-1152

Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I1eedd61d56b4489c31291394f38951f355ebbc8c

certServiceClient/README.md

index 56c33bd..d1650a7 100644 (file)
@@ -22,32 +22,12 @@ nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-client:lates
 ```
 
 ### Running local client application as standalone docker container
-```
-AAFCERT_CLIENT_IMAGE=onap/org.onap.aaf.certservice.aaf-certservice-client
-DOCKER_ENV_FILE= <path to envfile>
-NETWORK_CERT_SERVICE= <docker network of cert service>
-docker run --name aaf-certservice-client --env-file $DOCKER_ENV_FILE --network $NETWORK_CERT_SERVICE $AAFCERT_CLIENT_IMAGE
-```
-Sample Environment file:
-```aidl
-#Client envs
-REQUEST_TIMEOUT=1000
-OUTPUT_PATH=/var/log
-CA_NAME=RA
-#Csr config envs
-COMMON_NAME=onap.org
-ORGANIZATION=Linux-Foundation
-ORGANIZATION_UNIT=ONAP
-LOCATION=San-Francisco
-STATE=California
-COUNTRY=US
-SANS=example.com:example2.com
-KEYSTORE_PATH=/etc/onap/aaf/certservice/certs/certServiceClient-keystore.jks
-KEYSTORE_PASSWORD=secret
-TRUSTSTORE_PATH=/etc/onap/aaf/certservice/certs/truststore.jks
-TRUSTSTORE_PASSWORD=secret
-```
+CertService API and client must be running in same network.
+
+You need certificate and trust anchors (in JKS format) to connect to CertService API via HTTPS. Information how to generate truststore and keystore files you can find in CertService main README.
+
+Information how to run you can find in CertService main README and official documentation, see [Read The Docs](https://onap-doc.readthedocs.io/projects/onap-aaf-certservice/en/latest/sections/usage.html)
+
 
 ### Logs locally