Ask Your Question

Hello, I am having error while creating certificate for agent. Error details are given below. Your help would be highly appreciated

asked 2018-03-04 22:01:50 -0600

sohaib629 gravatar image

updated 2018-03-05 09:31:08 -0600

DarylW gravatar image


[root@dockertest ssl]# puppet agent -t
Error: Could not request certificate: Find /test/certificate/ca?fail_on_404=true resulted in 404 with the message: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL /test/certificate/ca was not found on this server.</p>

Exiting; failed to retrieve certificate and waitforcert is disabled
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-07 11:37:53 -0600

MichaelSmith gravatar image

What does your puppet.conf look like? It seems likely that something is configured strangely there, as Puppet shouldn't be trying to reach '/test/...' anything by default.

What Puppet's trying to do is retrieve the master's CA certificate, to authenticate any following communication with it. However it's querying the wrong path, which should be /puppet-ca/v1/certificate/ca?fail_on_404=true.

Also, what version of Puppet are you using? I would guess 2.x or 3.x, based on the URI it's querying.

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

1 follower


Asked: 2018-03-04 22:01:50 -0600

Seen: 71 times

Last updated: Mar 07