Ask Your Question
0

Exiting; no certificate found and waitforcert is disabled

asked 2017-02-06 10:30:15 -0500

axami77 gravatar image

Hi, I rollback to puppet version 3.8.7

# puppet --version

3.8.7

Already removed certs and signed new certs

# rm -rvf /var/lib/puppet/ssl/

On the Puppet Master can see the cert is created
But when running the puppet agent gets the following error.

# puppet agent -tv

Info: Creating a new SSL key for

<-snip->

Info: Caching certificate for ca

Exiting; no certificate found and waitforcert is disabled

I checked time is synced.

Any idea where else should look at?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2017-04-30 22:52:48 -0500

Hello guys,

I'm facing the same issue, can everyone point me to the right direction?

Tks

edit flag offensive delete link more
0

answered 2017-02-11 06:18:57 -0500

stivesso gravatar image

Hello,

It seems like you haven't signed that client certificate. On the master, run

puppet cert list

If that node is listed, then sign its certificate using (certname being the name you retrieve from the list)

puppet cert sign <certname>
edit flag offensive delete link more
0

answered 2017-02-13 04:07:53 -0500

axami77 gravatar image

updated 2017-02-13 04:09:48 -0500

Hello, Thanks for your reply. On the Master: I did run puppet cert list

puppet cert sign puppet.client.local

But still getting the same error on Puppet node:

puppet agent -t

Info: Creating a new SSL key for puppet.client.local Error: Could not request certificate: getaddrinfo: Name or service not known Exiting; failed to retrieve certificate and waitforcert is disabled

edit flag offensive delete link more

Comments

Hello, Check that you are able to reach (and to resolve the Puppet Master name) from the client, try to ping <puppet_master> and telnet <puppet_master> 8140 (puppet_master being the name of your master (the one you listed as server in your puppet.conf)

stivesso gravatar imagestivesso ( 2017-02-13 15:56:54 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2017-02-06 10:30:15 -0500

Seen: 3,333 times

Last updated: Feb 13