diff options
author | Paweł Baniewski <pawel.baniewski@nokia.com> | 2020-06-19 10:47:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-06-19 10:47:16 +0000 |
commit | 7feb6ab1d172070c1532106ff699eb99be33c826 (patch) | |
tree | a9b939908316d1941f5e12459b25a186cff28446 | |
parent | 0b278343630c1e3c7c92b3e5094570748692666e (diff) | |
parent | 8b1dfcb47be14c66cc2085504fc95d93b6ec840a (diff) |
Merge "Update README of CertServiceClient"
-rw-r--r-- | certServiceClient/README.md | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/certServiceClient/README.md b/certServiceClient/README.md index 72521737..adb5d4fb 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= <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 |