That's a very old version. Better try with 0.24.8 from EPEL instead of
rpmforge.
> err: Could not retrieve configuration: Certificates were not trusted:
> hostname not match with the server certificate
> err: Could not run Puppet::Network::Client::Master: Cannot connect to
> server and there is no cached configuration
>
Did you sign the cert on the puppet master? puppetca --list then
puppetca --sign vm33.my.net or puppetca --sign --all
--
Trevor Hemsley
Infrastructure Engineer
.................................................
* C A L Y P S O
* Brighton, UK
OFFICE +44 (0) 1273 666 350
FAX +44 (0) 1273 666 351
.................................................
www.calypso.com
This electronic-mail might contain confidential information intended
only for the use by the entity named. If the reader of this message is
not the intended recipient, the reader is hereby notified that any
dissemination, distribution or copying is strictly prohibited.
* P * /*/ Please consider the environment before printing this e-mail /*/
1) Change puppet.conf on the client, set "servername = vm27.my.net", or
2) On the puppetmaster, edit puppet.conf and set "certname=puppet", stop puppetmaster, delete the certificates
(/var/lib/puppet/ssl/* is effective, if brutal), then start puppetmaster again so it'll regenerate the certificates.
I went with the latter, so that a simple packaged install of the puppet clients will automatically find the server
without having to customise the config file in the package, or otherwise get the config file out to the client. YMMV:
openssl s_client -showcerts -connect puppet:8140
is a useful command to see what the name on the certificate is, if the above doesn't work.
> Thanks
> Mike
Hope that points you in the right direction.
--
Craig Miskell
Senior Systems Administrator
Opus International Consultants
I wish there was a knob on the TV to turn up the intelligence. There's
a knob called "brightness", but it doesn't work.
-- Gallagher
This is necessary for the older versions of puppet, but definitely
shouldn't be necessary for newer versions, and using a blanket
certname setting can cause problems. It's a good idea for older
releases in certain cases, but I don't recommend it unless you have to
use it.
--
When I die, I want go out just like my grandfather, in his sleep,
peaceful and quiet...not kicking and screaming like the other guys in
his car.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com