Write a certificate authority that osapi deployed again
PUT/api/node/:hostname/certificate/:name
Writes the CA from the object, or from the one that it was deployed from when the object is empty, and rebuilds the trust store when the file changed. A CA that osapi did not deploy is not found. macOS reports skipped.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Each target host's result, with whether it changed.
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 has no certificate with that name.
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.