Skip to content

Instantly share code, notes, and snippets.

@skpy
Created August 24, 2012 15:22
Show Gist options
  • Save skpy/3451942 to your computer and use it in GitHub Desktop.
Save skpy/3451942 to your computer and use it in GitHub Desktop.
# allow access to the master CA
path /certificate/ca
auth any
method find
allow *
path /certificate/
auth any
method find
allow *
path /certificate_request
auth any
method find, save
allow *
# allow hosts to manage their own certificates
# see: https://groups.google.com/group/puppet-users/msg/f58735e9e63f9028?hl=en
path ~ /certificate_status/([^/]+)$
auth no
allow $1
@jglenn9k
Copy link

Add

path /certificate_status
auth any

a specific lack of method here, see http://docs.puppetlabs.com/guides/rest_auth_conf.html#method

allow *

@jglenn9k
Copy link

Add

path /certificate_status
auth any

a specific lack of method here, see http://docs.puppetlabs.com/guides/rest_auth_conf.html#method

allow *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment