Merge "Update README of CertServiceClient"
authorPaweł Baniewski <pawel.baniewski@nokia.com>
Fri, 19 Jun 2020 10:47:16 +0000 (10:47 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 19 Jun 2020 10:47:16 +0000 (10:47 +0000)
certServiceClient/README.md

index 7252173..adb5d4f 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