Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-9327

'puppet ssl clean' does not remove the certificate requests

    Details

    • Template:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      The 'puppet ssl clean' command now deletes local certificate requests.
    • QA Risk Assessment:
      Needs Assessment

      Description

      ..Puppet Version: 6.0.4
      Puppet Server Version: 6.0.1
      OS Name/Version: Centos7

      When I get "Error: Could not request certificate: The certificate retrieved from the master does not match the agent's private key...", I use the "puppet ssl clean" as suggested by the error message:

       

      # puppet ssl clean
      Notice: Removed private key /etc/puppetlabs/puppet/ssl/private_keys/dbslave.example.com.pem
      Notice: Removed public key /etc/puppetlabs/puppet/ssl/public_keys/dbslave.example.com.pem
      Notice: Removed certificate /etc/puppetlabs/puppet/ssl/certs/dbslave.example.com.pem
      

       

      But then I have to clean the certificate request manually, otherwise I get the same error.

      # rm /etc/puppetlabs/puppet/ssl/certificate_requests/dbslave.example.com.pem

      Desired Behavior:

      According to the feature request ( PUP-9156)  it should be cleaned automatically along with the other files.

      Puppet configs are all default. I have not overridden any of them.

       

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                jorie Jorie Tappa
                Reporter:
                fkoksal Fatih Köksal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: