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.

debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl 
does not exist
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not 
exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting 
false
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/facts]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/etc/puppet/puppet.conf]: Autorequiring 
File[/etc/puppet]
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring 
File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: 
/File[/var/lib/puppet/ssl/public_keys/virtcent10.summitnjhome.com.pem]: 
Autorequiring File[/var/lib/puppet/ssl/public_keys]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: 
/File[/var/lib/puppet/ssl/private_keys/virtcent10.summitnjhome.com.pem]: 
Autorequiring File[/var/lib/puppet/ssl/private_keys]
debug: /File[/var/run/puppet/puppetd.pid]: Autorequiring 
File[/var/run/puppet]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl/certs/virtcent10.summitnjhome.com.pem]: 
Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/state]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/lib]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl]: Autorequiring 
File[/var/lib/puppet]
debug: Finishing transaction 23592006256100 with 0 changes
debug: 
/File[/var/lib/puppet/ssl/private_keys/virtcent10.summitnjhome.com.pem]: 
Autorequiring File[/var/lib/puppet/ssl/private_keys]
debug: /File[/var/lib/puppet/ssl/certs/virtcent10.summitnjhome.com.pem]: 
Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/facts]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring 
File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state]: Autorequiring 
File[/var/lib/puppet]
debug: 
/File[/var/lib/puppet/ssl/public_keys/virtcent10.summitnjhome.com.pem]: 
Autorequiring File[/var/lib/puppet/ssl/public_keys]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring 
File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: Finishing transaction 23592005715060 with 0 changes
debug: Using cached certificate for ca
debug: Using cached certificate for virtcent10.summitnjhome.com
debug: Finishing transaction 23592005440740 with 0 changes
debug: Using cached certificate for ca
debug: Using cached 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

Reply via email to