Hi,

Has anyone configured puppetboard to use SSL to connect to the puppetdb server ?

puppetboard runs on a dedicated server, puppetdb on my puppetmaster.

Using plain http, on 8080, everything works.

When i configure puppetboard for https, I get always
ERROR:pypuppetdb.api:Could not reach PuppetDB on puppet.koewacht.net:8081 over HTTPS.

doing the same with pypuppetdb, in a python shell, it works,

as teh apache user, to rule out permission problems.


>>> from pypuppetdb import connect
>>> db = connect(host='puppet.koewacht.net', port=8081, ssl_key='/etc/puppetboard/pb_priv.pem', ssl_cert='/etc/puppetboard/pb_pub.pem')
>>> nodes = db.nodes()
>>> for node in nodes:
...   print(node)
...
fc19.koewacht.net
laptopfc18.koewacht.net
puppetboard
puppet.koewacht.net

Just looking to see if it is some setting I oversee, or I have to delve in the code ..

Grts

Johan

--
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer         (805008667232363)
Puppet Certified Professional 2013 (PCP0000006)
_________________________________________________________
Open-Future Phone +32 (0)2/255 70 70
Zavelstraat 72              Fax       +32 (0)2/255 70 71
3071 KORTENBERG             Mobile    +32 (0)474/42 40 73
BELGIUM                     http://www.open-future.be
_________________________________________________________
Next Events:
Puppet Fundamentals Training | 
http://www.open-future.be/puppet-fundamentals-training-4-till-6th-february
Puppet Intruction Course | 
http://www.open-future.be/puppet-introduction-course-7th-february
Zabbix Certified Training | 
http://www.open-future.be/zabbix-certified-training-10-till-12th-february
Zabbix for Large Environments Training | 
http://www.open-future.be/zabbix-large-environments-training-13-till-14th-february
Subscribe to our newsletter | http://eepurl.com/BUG8H

--
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/52F6B13F.30604%40open-future.be.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to