9 ### Install the package into the local repository
14 ### Building Docker image and install the package into the local repository
16 mvn clean install -P docker
19 ### Nexus container image
21 nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-client:latest
24 ### Running local client application as standalone docker container
26 AAFCERT_CLIENT_IMAGE=onap/org.onap.aaf.certservice.aaf-certservice-client
27 DOCKER_ENV_FILE= <path to envfile>
28 NETWORK_CERT_SERVICE= <docker network of cert service>
30 docker run --name aaf-certservice-client --env-file $DOCKER_ENV_FILE --network $NETWORK_CERT_SERVICE $AAFCERT_CLIENT_IMAGE
32 Sample Environment file:
40 ORGANIZATION=Linux-Foundation
41 ORGANIZATION_UNIT=ONAP
42 LOCATION=San-Francisco
45 SANS=example.com:example2.com
52 var/log/onap/aaf/certservice-client/certservice-client.log
54 ### Logs in Docker container
56 docker logs aaf-certservice-client
61 1 Invalid client configuration
62 2 Invalid CSR configuration
63 3 Fail in key pair generation
64 4 Fail in CSR generation
65 5 CertService HTTP unsuccessful response
66 6 Internal HTTP Client connection problem
67 7 Fail in PKCS12 conversion
68 8 Fail in Private Key to PEM Encoding