Ask Your Question

revoke and delete cert via the REST API?

asked 2013-09-27 17:40:56 -0600

ramindk gravatar image

How can I use the REST API to revoke and delete certs?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-27 17:46:27 -0600

ramindk gravatar image

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)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-09-27 17:40:56 -0600

Seen: 1,903 times

Last updated: Sep 27 '13