Skip to main content

Remove a certificate authority that osapi deployed

DELETE 

/api/node/:hostname/certificate/:name

Removes the file of the CA and rebuilds the trust store: with update-ca-certificates --fresh on the Debian family and SUSE, which removes the links of the CA from /etc/ssl/certs, and update-ca-trust on the RHEL family. A CA that osapi did not deploy does not change and reports changed: false: a system CA is not osapi's to remove. macOS reports skipped.

Request​

Responses​

Each target host's result, with whether it changed.