Hello list!! I am a new puppet user and I am having trouble getting the server to verify the client cert. I know this has been covered before but I have tried several things and no luck as of yet.
If I run a puppet test --waitfor cert in the client this is what I get. [root@VIRTCENT10:~] #puppetd --test --waitforcert 15 warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate warning: peer certificate won't be verified in this SSL session info: Caching certificate for virtcent10.summitnjhome.com err: Could not retrieve catalog from remote server: hostname not match with the server certificate warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run I found a useful link on this problem here: http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2010-04/msg00670.html and I thought that the problem may have been that I did not specify the fqdn of the server on the puppetd --test command I had used. So I rm'd the puppet directory in /var/lib and the config directory in /etc and then reinstalled the puppet client. Then I ran puppecta --clean virtcent10.summitnjhome.com on the server. At that point I ran the command again specifying the fqdn of the server. [root@VIRTCENT10:~] #puppetd --test virtcent13.summitnjhome.com --waitforcert 15 warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate warning: peer certificate won't be verified in this SSL session info: Caching certificate for virtcent10.summitnjhome.com err: Could not retrieve catalog from remote server: hostname not match with the server certificate warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run I'm enclosing more verbose output of puppet test in a hope that a solution to this problem can be found. Thanks in advance! -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[0;37mdebug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist[0m [0;37mdebug: Puppet::Type::User::ProviderPw: file pw does not exist[0m [0;37mdebug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist[0m [0;37mdebug: Puppet::Type::User::ProviderLdap: true value when expecting false[0m [0;37mdebug: Failed to load library 'ldap' for feature 'ldap'[0m [0;37mdebug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/ssl/public_keys/virtcent10.summitnjhome.com.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys][0m [0;37mdebug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/ssl/private_keys/virtcent10.summitnjhome.com.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys][0m [0;37mdebug: /File[/var/run/puppet/puppetd.pid]: Autorequiring File[/var/run/puppet][0m [0;37mdebug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certs/virtcent10.summitnjhome.com.pem]: Autorequiring File[/var/lib/puppet/ssl/certs][0m [0;37mdebug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: Finishing transaction 23592006256100 with 0 changes[0m [0;37mdebug: /File[/var/lib/puppet/ssl/private_keys/virtcent10.summitnjhome.com.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certs/virtcent10.summitnjhome.com.pem]: Autorequiring File[/var/lib/puppet/ssl/certs][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet][0m [0;37mdebug: /File[/var/lib/puppet/ssl/public_keys/virtcent10.summitnjhome.com.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys][0m [0;37mdebug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs][0m [0;37mdebug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl][0m [0;37mdebug: Finishing transaction 23592005715060 with 0 changes[0m [0;37mdebug: Using cached certificate for ca[0m [0;37mdebug: Using cached certificate for virtcent10.summitnjhome.com[0m [0;37mdebug: Finishing transaction 23592005440740 with 0 changes[0m [0;37mdebug: Using cached certificate for ca[0m [0;37mdebug: Using cached certificate for virtcent10.summitnjhome.com[0m [1;35merr: Could not retrieve catalog from remote server: hostname not match with the server certificate[0m [0;33mwarning: Not using cache on failed catalog[0m [1;35merr: Could not retrieve catalog; skipping run[0m