Deprecate certServiceClient
[oom/platform/cert-service.git] / certServiceClient / README.md
1 # Cert service client *(deprecated)*
2
3 > Deprecated since Istanbul release in favor of Cert Manager certificates
4 > (for more details see certServiceK8sExternalProvider submodule).
5
6
7 ### Project building
8 ```
9 mvn clean package
10 ```
11     
12     
13 ### Install the package into the local repository
14 ```
15 mvn clean install
16 ```     
17     
18 ### Building Docker image and  install the package into the local repository
19 ```
20 mvn clean install -P docker
21 ```   
22
23 ### Nexus container image
24 ```
25 nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:latest
26 ```
27
28 ### Running local client application as standalone docker container
29 CertService API and client must be running in same network.
30
31 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.
32
33 Information how to run you can find in CertService main README and official documentation, see [Read The Docs](https://docs.onap.org/projects/onap-oom-platform-cert-service/en/latest/sections/usage.html)
34
35
36 ### Logs locally
37
38 path: 
39 ```
40 var/log/onap/oom/certservice-client/certservice-client.log
41 ```    
42 ### Logs in Docker container
43 ```
44 docker logs oom-certservice-client
45 ```
46 ###Exit codes
47 ```
48 0       Success
49 1       Invalid client configuration
50 2       Invalid CSR configuration 
51 3       Fail in key pair generation
52 4       Fail in  CSR generation
53 5       CertService HTTP unsuccessful response
54 6       Internal HTTP Client connection problem
55 7       Fail in PEM conversion
56 8       Fail in Private Key to PEM Encoding
57 9       Wrong TLS configuration
58 10      File could not be created