warning: Certificate validation failed; consider using the certname configuration option

err: Could not retrieve catalog: Certificates were not trusted: certificate verify failed

warning: Not using cache on failed catalog

edit

/etc/hosts

add

ip puppet puppet.ur_domain.com

puppetd –server puppet.ur_domain.com –waitforcert 60 –test