Category Archives: Windows 7

Puppet Enterprise – Error: Could not request certificate: getaddrinfo: No such host is known

Following error on Puppet windows agent

$ puppet agent -t
Running Puppet agent on demand ...
Error: Could not request certificate: getaddrinfo: No such host is known
Exiting; failed to retrieve certificate and waitforcert is disabled**

Run agent in debug mode puppet agent -t --debug

It will tell you what host:port it is trying to connect

Fix it accordingly in following config file and re run puppet agent

C:\ProgramData\PuppetLabs\puppet\etc\puppet.conf

All good 🙂

Array ( [marginTop] => 100 [pageid] => @techish1 [alignment] => left [width] => 292 [height] => 300 [color_scheme] => light [header] => header [footer] => footer [border] => true [scrollbar] => scrollbar [linkcolor] => #2EA2CC )