List the certificate authorities that the host trusts
GET/api/node/:hostname/certificate
Lists each CA of the trust store through gohai: the distribution's and the local ones on Linux, from the family's directories, and the system keychains on macOS, each with its subject, fingerprint and expiry. A CA that osapi deployed reads by the name that it was deployed with, not its file's osapi- name, and is managed.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Each target host's result.
The request is not valid, or the host refuses the input, such as a path that is a directory.
Unauthorized - API key required
Forbidden - Insufficient permissions
The host does not have what the request names, such as the object of a deploy.
osapi did not deploy the item, so it does not change it, or the host does not have a program that the method needs.
An error on the controller.