Thanks that certainly sorts out the authentication problem.

Turns out I'm using the wrong API call for what I require though. I'm after 
the equivalent of running "puppet cert list" and not "puppet cert list 
--all" like the API call I was trying to do.

I think http://docs.puppetlabs.com/guides/rest_api.html#certificate-request 
is for this but every time I try the first curl example I get:

Not Acceptable: No supported formats are acceptable (Accept: yaml)

It doesn't matter which format I try they all report this.

I checked the documentation as well at 
https://github.com/puppetlabs/puppet/blob/master/api/docs/http_certificate_request.md

The "Search" stuff in that doc does not seem to work for me either.

On Wednesday, 23 July 2014 08:20:26 UTC+1, Martin Alfke wrote:
>
> Hi Danny, 
>
> look into puppet auth.conf 
> You need to allow the requesting server access to certificate_status. 
>
> hth, 
>
> Martin 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/82817370-63c7-41f2-9b64-5b649fba9032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to