Removing AAF references from Cert-Service in OOM repo.
[oom/platform/cert-service.git] / certServiceClient / README.md
index 7748b29..277f7a1 100644 (file)
@@ -18,42 +18,26 @@ mvn clean install -P docker
 
 ### Nexus container image
 ```
-nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-client:latest
+nexus3.onap.org:10001/onap/org.onap.oom.certservice.oom-certservice-client:latest
 ```
 
 ### 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
-```
+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://docs.onap.org/projects/onap-aaf-certservice/en/latest/sections/usage.html)
+
 
 ### Logs locally
 
 path: 
 ```
-var/log/onap/aaf/certservice-client/certservice-client.log
+var/log/onap/oom/certservice-client/certservice-client.log
 ```    
 ### Logs in Docker container
 ```
-docker logs aaf-certservice-client
+docker logs oom-certservice-client
 ```
 ###Exit codes
 ```
@@ -64,5 +48,7 @@ docker logs aaf-certservice-client
 4      Fail in  CSR generation
 5      CertService HTTP unsuccessful response
 6      Internal HTTP Client connection problem
-7      Fail in PKCS12 conversion
+7      Fail in PEM conversion
 8      Fail in Private Key to PEM Encoding
+9      Wrong TLS configuration
+10     File could not be created