Ask Your Question
0

revoke and delete cert via the REST API?

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

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
2

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

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

Stats

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

Seen: 1,243 times

Last updated: Sep 27 '13