Ask Your Question

Could not request certificate: getaddrinfo

asked 2013-11-20 06:31:15 -0500

Aram gravatar image

I installed a puppet server and I tried to connect a windows node without luck. Server: SLES 11 ----> server name xyz Node: Windows 7 ---> server name xyz

If I do a "nslookup xyz" I get a resolved IP address and the xyz name. I could also "ping xyz" successfuly.

If I try to start the agent (Run Puppet Agen), I get the following message: Running Puppet agent on demand ... Error: Could not request certificate: getaddrinfo... Exiting: failed to retrieve certificate and waitforcert is disabled

edit retag flag offensive close merge delete


Since you have give 'xyz' as a hostname example for both the client and the server, could you clarify, on which machine you are running the above commands and which ...(more)

rjc gravatar imagerjc ( 2013-11-25 07:44:58 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2013-11-22 08:25:21 -0500

doc75 gravatar image

updated 2013-11-30 12:20:13 -0500

I usually get this error on Linux VM when I am not running puppet agent as root using: puppet agent --test.

You need if you are not root to use: sudo puppet agent --test

edit flag offensive delete link more

answered 2014-02-20 12:18:26 -0500

joshc gravatar image

What is the value of puppet agent --configprint server? Is it the server you expect? Can you nslookup that?

Prior to 3.4, the Puppet MSI would not overwrite configuration values if an older value existed in puppet.conf. So for example, if you install puppet once using the default server setting puppet, and then try to reinstall, but specify, then the latter value would be ignored.

Starting in 3.4, the Puppet MSI will always overwrite existing configuration settings.

Best thing is to confirm that the agent is actually connecting to the server you think it ... (more)

edit flag offensive delete link more

answered 2013-11-21 11:52:28 -0500

warden gravatar image

How come your server and client are named the same...?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-11-20 06:31:15 -0500

Seen: 16,252 times

Last updated: Feb 20 '14