From 8b1dfcb47be14c66cc2085504fc95d93b6ec840a Mon Sep 17 00:00:00 2001 From: Tomasz Wrobel Date: Thu, 18 Jun 2020 11:06:56 +0200 Subject: [PATCH] Update README of CertServiceClient Issue-ID: AAF-1152 Signed-off-by: Tomasz Wrobel Change-Id: I1eedd61d56b4489c31291394f38951f355ebbc8c --- certServiceClient/README.md | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/certServiceClient/README.md b/certServiceClient/README.md index 56c33bdf..d1650a7f 100644 --- a/certServiceClient/README.md +++ b/certServiceClient/README.md @@ -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= -NETWORK_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 -- 2.16.6