I have build an testlap for puppet, but it doesnt work. I start the Puppet Agent on the Node and he waits for the Certificate.
root:~# puppet agent --server xxxx --waitforcert 60 --test
warning: peer certificate won't be verified in this SSL session
warning: peer certificate won't be verified in this SSL session
warning: peer certificate won't be verified in this SSL session
Now on the Server, it comes nothing.
root:~# puppet cert --list
root:~#
Yes, i doenst know why. But in the masterhttpd log:
root:~# tail /var/log/puppet/masterhttp.log
[2012-01-06 09:19:17] xxx - - [06/Jan/2012:09:19:17 CET] "GET /production/certificate/xx HTTP/1.1" 404 30
[2012-01-06 09:19:17] - -> /production/certificate/pgw
[2012-01-06 09:19:47] xxx - - [06/Jan/2012:09:19:47 CET] "GET /production/certificate/xx HTTP/1.1" 404 30
[2012-01-06 09:19:47] - -> /production/certificate/pgw
[2012-01-06 09:19:47] xxx - - [06/Jan/2012:09:19:47 CET] "GET /production/certificate/xx HTTP/1.1" 404 30
[2012-01-06 09:19:47] - -> /production/certificate/pgw
[2012-01-06 09:19:47] xxx - - [06/Jan/2012:09:19:47 CET] "GET /production/certificate/xx HTTP/1.1" 404 30
[2012-01-06 09:19:47] - -> /production/certificate/pgw
404 for it? I dont know how can I fix it. I am very happy for an help!
waitforcertenabled then try running it again withoutwaitforcert. Chances are that your cert is already signed and that is whypuppet cert --listis empty. – Aditya Patawari Jan 6 '12 at 8:53root:~# puppetca revoke --list 12-01-06 10:25 err: Could not call list: Could not find a certificate for revokelooks like not an signed cert :( – Dennis Wisnia Jan 6 '12 at 9:25