1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright 2020 NOKIA
16 title: CertService Documentation
17 description: Certification service API documentation
20 - url: http://localhost:8080
21 description: Generated server url
24 description: Monitor and interact
26 description: Spring Boot Actuator Web API Documentation
27 url: https://docs.spring.io/spring-boot/docs/current/actuator-api/html/
29 /v1/certificate/{caName}:
32 - CertificationService
33 summary: sign certificate
34 description: Web endpoint for requesting certificate signing. Used by system
35 components to gain certificate signed by CA.
36 operationId: signCertificate
40 description: Name of certification authority that will sign CSR.
46 description: Certificate signing request in form of PEM object encoded in
47 Base64 (with header and footer).
53 description: Private key in form of PEM object encoded in Base64 (with header
60 description: certificate successfully signed
62 application/json; charset=utf-8:
64 $ref: '#/components/schemas/CertificationModel'
66 description: something went wrong during connecting to cmp client
68 application/json; charset=utf-8:
70 $ref: '#/components/schemas/ErrorResponseModel'
72 description: CA not found for given name
74 application/json; charset=utf-8:
76 $ref: '#/components/schemas/ErrorResponseModel'
78 description: given CSR or/and PK is incorrect
80 application/json; charset=utf-8:
82 $ref: '#/components/schemas/ErrorResponseModel'
86 - CertificationService
87 summary: check is container is ready
88 description: Web endpoint for checking if service is ready to be used.
89 operationId: checkReady
92 description: configuration is loaded and service is ready to use
94 application/json; charset=utf-8:
98 description: configuration loading failed and service is unavailable
100 application/json; charset=utf-8:
106 - CertificationService
107 summary: reload service configuration from file
108 description: Web endpoint for performing configuration reload. Used to reload
109 configuration file from file.
110 operationId: reloadConfiguration
113 description: configuration has been successfully reloaded
115 application/json; charset=utf-8:
119 description: something went wrong during configuration loading
121 application/json; charset=utf-8:
123 $ref: '#/components/schemas/ErrorResponseModel'
128 summary: Actuator web endpoint 'health'
129 operationId: handle_0
132 description: default response
138 summary: Actuator web endpoint 'health-path'
139 operationId: handle_1
142 description: default response
148 summary: Actuator root web endpoint
152 description: default response