Hi,

I am following the below procedure.


Mater

#apt-get install puppet puppetmaster facter


*Client side*

#apt-get install puppet

Both servers

Vi /etc/hosts
update master and agent ip address and host name 

ping master from agent and vice-versa

Make sure puppet master and puppet running


*Client side :*

vi /etc/puppet/puppet.conf
[main]
server=<puppet-master>

--------------------

#puppet agent --server puppet-master --waitforcert 60 --test


*Server :*

#puppet cert --list

#puppet cert --sign puppet-client



i am getting the followig errors :

ot@puppet-client:/etc/puppet# puppet agent 
--server puppet-master.xxx.com --waitforcert 60 --test
Info: Creating a new SSL key for puppet-client.xxx.com
Info: Caching certificate for ca
Info: csr_attributes file loading from /etc/puppet/csr_attributes.yaml
Info: Creating a new SSL certificate request for puppet-client.xxx.com
Info: Certificate Request fingerprint (SHA256): 
13:AB:81:61:4A:31:5A:02:B5:A2:E1:75:F4:82:07:D7:E6:66:EE:F4:FF:02:F9:D1:D5:C2:B9:29:EB:D5:A3:A0
Info: Caching certificate for ca
Notice: Did not receive certificate
Notice: Did not receive certificate
Info: Caching certificate for puppet-client.xxx.com
Warning: Unable to fetch my node definition, but the agent run will 
continue:
Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate 
B: certificate verify failed: [self signed certificate in certificate chain 
for /CN=Puppet CA: puppet-master.xxx.local]
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources 
using 'eval_generate': SSL_connect returned=1 errno=0 state=SSLv3 read 
server certificate B: certificate verify failed: [self signed certificate 
in certificate chain for /CN=Puppet CA: puppet-master.xxx.local]
Error: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect 
returned=1 errno=0 state=SSLv3 read server certificate B: certificate 
verify failed: [self signed certificate in certificate chain for /CN=Puppet 
CA: puppet-master.xxx.local] Could not retrieve file metadata for 
puppet://puppet-master.xxx.com/plugins: SSL_connect returned=1 errno=0 
state=SSLv3 read server certificate B: certificate verify failed: [self 
signed certificate in certificate chain for /CN=Puppet CA: 
puppet-master.xxx.local]
Error: Could not retrieve catalog from remote server: SSL_connect 
returned=1 errno=0 state=SSLv3 read server certificate B: certificate 
verify failed: [self signed certificate in certificate chain for /CN=Puppet 
CA: puppet-master.xxx.local]
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 
read server certificate B: certificate verify failed: [self signed 
certificate in certificate chain for /CN=Puppet CA: puppet-master.xxx.local]

-- 
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/eecff6bf-8bdc-43aa-83fc-c3a0f843b3dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to