err: Could not retrieve catalog from remote server: hostname was not match with the server certificate warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run my hostnames are correct i can ping one from another using the hostname which i set in /etc/host how do i resolve this -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Jun 24, 3:30 am, Neelam <ajender.nee...@gmail.com> wrote:> err: Could not retrieve catalog from remote server: hostname was not > match with the server certificate > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > my hostnames are correct i can ping one from another using the > hostname which i set in /etc/host > how do i resolve thisThe certificate your server presented to authenticate itself to the client bore a different name than the one the client used to contact the server. For instance, your client may have contacted it as puppet.superawesome.com, but the certificate it presented was issued to master.superawesome.com. The easiest thing to do would be to contact the server via the name used in its certificate. You can test this via puppet agent --onetime --no-daemonize --server=<master''s cert name> Having determined that it works, update your client''s /etc/puppet/ puppet.conf by setting server=<master''s cert name> John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 24.06.2011, at 22:59, jcbollinger wrote:> > > On Jun 24, 3:30 am, Neelam <ajender.nee...@gmail.com> wrote: >> err: Could not retrieve catalog from remote server: hostname was not >> match with the server certificate >> warning: Not using cache on failed catalog >> err: Could not retrieve catalog; skipping run >> >> my hostnames are correct i can ping one from another using the >> hostname which i set in /etc/host >> how do i resolve this > > The certificate your server presented to authenticate itself to the > client bore a different name than the one the client used to contact > the server. For instance, your client may have contacted it as > puppet.superawesome.com, but the certificate it presented was issued > to master.superawesome.com. The easiest thing to do would be to > contact the server via the name used in its certificate. You can test > this via > > puppet agent --onetime --no-daemonize --server=<master''s cert name> > > Having determined that it works, update your client''s /etc/puppet/ > puppet.conf by setting > > server=<master''s cert name> > >Also make sure that client and servers time is in sync. Otherwise client and/or server might think that a certificate is not yet or no longer valid.> John > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.