3 title: CertService Documentation
4 description: Certification service API documentation
7 - url: http://localhost:8080
8 description: Generated server url
11 description: Monitor and interact
13 description: Spring Boot Actuator Web API Documentation
14 url: https://docs.spring.io/spring-boot/docs/current/actuator-api/html/
16 /v1/certificate/{caName}:
19 - CertificationService
20 summary: sign certificate
21 description: Web endpoint for requesting certificate signing. Used by system
22 components to gain certificate signed by CA.
23 operationId: signCertificate
27 description: Name of certification authority that will sign CSR.
33 description: Certificate signing request in form of PEM object encoded in
34 Base64 (with header and footer).
40 description: Private key in form of PEM object encoded in Base64 (with header
47 description: certificate successfully signed
49 application/json; charset=utf-8:
51 $ref: '#/components/schemas/CertificationModel'
53 description: something went wrong during connecting to cmp client
55 application/json; charset=utf-8:
57 $ref: '#/components/schemas/ErrorResponseModel'
59 description: CA not found for given name
61 application/json; charset=utf-8:
63 $ref: '#/components/schemas/ErrorResponseModel'
65 description: given CSR or/and PK is incorrect
67 application/json; charset=utf-8:
69 $ref: '#/components/schemas/ErrorResponseModel'
73 - CertificationService
74 summary: check is container is ready
75 description: Web endpoint for checking if service is ready to be used.
76 operationId: checkReady
79 description: configuration is loaded and service is ready to use
81 application/json; charset=utf-8:
85 description: configuration loading failed and service is unavailable
87 application/json; charset=utf-8:
93 - CertificationService
94 summary: reload service configuration from file
95 description: Web endpoint for performing configuration reload. Used to reload
96 configuration file from file.
97 operationId: reloadConfiguration
100 description: configuration has been successfully reloaded
102 application/json; charset=utf-8:
106 description: something went wrong during configuration loading
108 application/json; charset=utf-8:
110 $ref: '#/components/schemas/ErrorResponseModel'
115 summary: Actuator web endpoint 'health'
116 operationId: handle_0
119 description: default response
125 summary: Actuator web endpoint 'health-path'
126 operationId: handle_1
129 description: default response
135 summary: Actuator root web endpoint
139 description: default response