puppetdb ssl access
I want to access the puppetdb API from a seperate host. I have done the following:
- Generated a new cert: $ puppet cert generate tc-remote
- added the certname to the whitelist: $ echo "tc-remote" >> /etc/puppetlabs/puppetdb/certificate-whitelist
- Test from puppetmaster:
$ curl 'https://puppetmaster.mgmt.local:8081/v3/nodes' --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem --cert /etc/puppetlabs/puppet/ssl/certs/tc-remote.pem --key /etc/puppetlabs/puppet/ssl/private_keys/tc-remote.pem
This returns results as expected. However when i move the certificates to my machine and use the same command i get:
curl: (35) Unknown SSL protocol error in connection to puppetmaster.mgmt.local:-9805
is this something to do with my local machine not being managed by puppet?
btw i am running version: "126.96.36.199-9"