I have installed puppetdb and puppetmaster(4.8),and I have exec "puppet agent -t and puppetdb ssl-setup -f " on the puppetdb server, when I exec "puppet agent -t" on puppet agent node,I get ssl error, I use "curl" command to check 8081 port of the puppetdb server on puppet master server, The puppetdb server looks like working normally. the curl command follow this:
#curl 'https://bizpuppetdb.server:8081/pdb/query/v4/nodes' --cacert /var/lib/puppetlabs/ssl/certs/ca.pem --cert /var/lib/puppetlabs/ssl/certs/puppetserver.sogou.pem --key /var/lib/puppetlabs/ssl/private_keys/puppetserver.sogou.pem It return follow this: [{"deactivated":null,"latest*report*hash":null,"facts *environment":"production","cached*catalog*status":null,"report* environment":null.......}] the ssl error like this: 2017-06-03 22:52:04 +0800 Puppet (warning): Error connecting to bizpuppetdb.server on 8081 at route /pdb/cmd/v1?checksum=330733bc8ffddc06ba3486ab3b62fd9723d0eb48&version=8&certname=bjzw_49_28.sogou-in.domain&command=store_report&producer-timestamp=1496501524, error message received was 'SSL_connect SYSCALL returned=5 errno=0 state=unknown state'. Failing over to the next PuppetDB server_url in the 'server_urls' list 2017-06-03 22:52:04 +0800 Puppet (err): Failed to execute '/pdb/cmd/v1?checksum=330733bc8ffddc06ba3486ab3b62fd9723d0eb48&version=8&certname=bjzw_49_28.sogou-in.domain&command=store_report&producer-timestamp=1496501524' on at least 1 of the following 'server_urls': https://bizpuppetdb.server:8081 This question bothers me for days,Could any body help me? thank you. john -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/eabd4f15-685a-4400-9dee-34829e3f691d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
