Ask Your Question

Error with PuppetDB 4.1 (PE 2016.2) HTTP API with RBAC token authentication

asked 2016-08-30 14:04:27 -0600

I am trying to use RBAC token to access the PuppetDB HTTP API with the following command:

curl -X GET https://learning.puppetlabs.vm:8081/pdb/query/v4/nodes -H "X-Authentication: $TOKEN" --cacert /path_to/ca.pem --tlsv1 -v

However, I received this error. Output:

curl: (35) Unknown SSL protocol error in connection to learning.puppetlabs.vm:8081

I can use similar command on other services and it is working as expected:

curl -X GET https://learning.puppetlabs.vm:4433/status/v1/services -H "X-Authentication: $TOKEN" --cacert /path_to/ca.pem --tlsv1 -v



Please advise

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-12 14:40:09 -0600

I asked the question on IRC and here is the answer from @arowtker

PuppetDB needs to be configured with client-auth: want under the [jetty] header of jetty.ini

Archive: IRC Archive

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: 2016-08-30 14:04:27 -0600

Seen: 92 times

Last updated: Sep 12 '16