Puppet 4.10.12 Exiting; no certificate found and waitforcert is disabled

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

VlaKl

New Member
Apr 26, 2019
23
0
1
Hi

Agent:

puppet agent --no-daemonize --server puppetserver.my.test.com --onetime --verbose

Exiting; no certificate found and waitforcert is disabled

/etc/puppetlabs/puppet/puppet.conf

[agent]
server = puppetserver.my.test.com


Ping, telnet OK

Server:

[main]
certname = puppetserver.my.test.com
server = puppetserver.my.test.com
[master]
vardir = /opt/puppetlabs/server/data/puppetserver
logdir = /var/log/puppetlabs/puppetserver
rundir = /var/run/puppetlabs/puppetserver
pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
codedir = /etc/puppetlabs/code



What is ? )
 

fossxplorer

Active Member
Mar 17, 2016
556
98
28
Oslo, Norway
Do the following steps in given order:
1. on agent/client run: puppet agent -t
2. on the master (puppetserver.my.test.com) run: puppet cert sign <FQDNS of the agent>
3. on agent run again: puppet agent -t

This should get you going :)
 
Last edited:

VlaKl

New Member
Apr 26, 2019
23
0
1
1) Exiting; no certificate found and waitforcert is disabled
2) Error: Could not find CSR for: "puppetclient.my.test.com".
3) Exiting; no certificate found and waitforcert is disabled
 
Last edited:

fossxplorer

Active Member
Mar 17, 2016
556
98
28
Oslo, Norway
I need a more details from you to further help you. Can you paste the full agent and master config?
Also check that your agent's FQDN is correctly set, check with hostnamectl. Just in case, try to list the certs awaiting to be signed with 'puppet cert list' on the master.
Does the puppet agent version correspond to master, i.e are both running 4.x?
Less important, what distro is this?