Ask Your Question

forbidden request on API

asked 2015-09-11 09:48:38 -0600

chriscowley gravatar image

updated 2015-09-11 09:54:33 -0600

When I run

/opt/puppetlabs/bin/puppet node find <nodename>

I get the expected wall of JSON and agents work fine too.

However, I would like to set up monitoring. When I run:

curl --cert /etc/puppetlabs/puppet/ssl/certs/<nodename>.pem \
     --key /etc/puppetlabs/puppet/ssl/private_keys/<nodename>.pem \
     --cacert /etc/puppetlabs/puppet/ssl/ca/ca_crt.pem \
     -H 'Accept: pson' \

the server returns Error 403: Forbidden

Is there something in auth.conf to add to enable acces to API outside of CLI?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-09-11 09:58:52 -0600

chriscowley gravatar image

It's always a F*ing DNS problem!

edit flag offensive delete link more


lol. yep dns in itself seems suboptimal :-0

sahumphries gravatar imagesahumphries ( 2015-09-11 10:08:17 -0600 )edit

answered 2015-09-11 10:17:48 -0600


can you try and telnet puppetmaster 8140 ?

if can connect etc I'd try and open up auth.conf

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: 2015-09-11 09:48:38 -0600

Seen: 643 times

Last updated: Sep 11 '15