forbidden request on API
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' \ https://<puppetmaster>:8140/puppet/v3/status/<nodename>?environment=production
the server returns Error 403: Forbidden
Is there something in
auth.conf to add to enable acces to API outside of CLI?