Issue #1573 has been updated by Nicolas Valcarcel.
I'm trying to work on this as my first contribution to puppet so i learn from the code and the community since it seems simple enough, after diving in the code i found that a line for removing the file from disk should be added in self.destroy function at ssl/host.rb the only issue i have to write that line is how to get the path of the certificate, i found that maybe the inventory class can help, but i don't find the inheriting path to use it from that function, am i missing something? ---------------------------------------- Bug #1573: `puppetca --clean' does not remove the host CSR http://projects.puppetlabs.com/issues/1573 Author: Jos Backus Status: Accepted Priority: Normal Assigned to: Category: SSL Target version: 0.25.5 Affected version: 0.25.0 Keywords: puppetca Branch: After a `puppetca --clean <puppetmaster_host>' (silly, I know) on the puppetmaster the <code>$libdir/puppet/ssl/csr_<puppetmaster_host>.pem</code> file is left behind. The next puppetd invocation yields the following error: <pre> err: Could not request certificate: Certificate does not match private key. Try 'puppetca --clean <puppetmaster_host>' on the server. </pre> But that advice doesn't fix the problem. What does work is removing the <code>$libdir/puppet/ssl/csr_<puppetmaster_host>.pem</code> file after which the next puppetd invocation properly yields a new certificate. To handle this case, should `puppetca --clean' not also remove the CSR file if present? -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
