revoke and delete cert via the REST API?
How can I use the REST API to revoke and delete certs?
First you need to use a cert that has access or create a cert to authorize. In the situation where you need an app to or toolset to delete/revoke serts I prefer to create a cert for that purpose.
Assuming you've created a cert you'll need to give it access. Do this on in Puppet master auth.conf
# allow nodes to touch their own cert and myappcert to touch all certs path ~ /certificate_status/([^/]+)$ auth yes allow $1 allow myappcert
Once you've restarted you Puppet master, you'll be able to use you myappcert to make changes ... (more)
Asked: 2013-09-27 17:40:56 -0500
Seen: 1,243 times
Last updated: Sep 27 '13