[root@puppet /]# puppetd --server localhost --test
warning: Certificate validation failed; consider using the certname configuration option
err: Could not retrieve catalog: Certificates were not trusted: hostname not match with the server certificate
warning: Not using cache on failed catalog