Windows agent doesn't request any certificates from puppet master?

0 votes

I am using a Windows agent and I'm unable to establish a communication between the master and agent.

My puppet server is a centos and agent is Win Server 2008 R2 Enterprise (64-bit).

When i try connecting to the Puppet server, i get only the following output:

C:\Windows\system32>puppet agent --test
Exiting; no certificate found and waitforcert is disabled

When im trying to telnet ,its successful on port 8140.

my puppet cert list doesn't show anything.

Here's my puppet.conf file

[main]
certname = gc.abc.com
server = gc.abc.com
user = pe-puppet
group = pe-puppet
environment_timeout = 0
app_management = true
module_groups = base+pe_only
environmentpath = /etc/puppetlabs/code/environments
codedir = /etc/puppetlabs/code
[agent]
graph = true
[master]
node_terminus = classifier
storeconfigs = true
storeconfigs_backend = puppetdb
reports = puppetdb
certname = gc.abc.com
always_cache_features = true

Aug 5 in Puppet by Karan
• 1,450 points
9 views

1 answer to this question.

0 votes

Exiting; no certificate found and waitforcert is disabled means that the client has already generated a CSR. If it's got a CSR, then it won't try to generate another. However, if somehow the CSR didn't make it to the master, then the master won't know about it and the agent won't try again because it's got a CSR already.

To resolve the above, remove the SSL dir on the agent and then try running puppet again.

When i removed the SSL dir (C:\ProgramData\PuppetLabs\puppet\etc\ssl) as per above suggestion and ran puppet command again, it worked for me.

answered Aug 5 by Sirajul
• 19,070 points

Related Questions In Puppet

+1 vote
1 answer

Steps to trigger puppet agent from jenkins

Heyy @Hannah,  First, you need to create Jenkins slave, ...READ MORE

answered Dec 16, 2018 in Puppet by Kiyara
525 views
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer

Are there any pre-requisites while installing Puppet for windows?

Puppet masters run only on Linux or ...READ MORE

answered Feb 21 in Puppet by Krishti
27 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
122 views
0 votes
1 answer
0 votes
1 answer

How can i check the requests of certificates from puppet agent to puppet master?

You could do this by executing the ...READ MORE

answered Jul 24 in Puppet by Sirajul
• 19,070 points
40 views
0 votes
1 answer