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

Puppert Certificate Signing Allows Invalid Option

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.3.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Puppet Version: PE 3.1
      Master: CentOS 6.4
      Agent: Windows 2008 R2 x64

    • Template:

      Description

      Description

      If a puppet user wants to sign all requested certificates from agent nodes and accidentally enters an invalid option "--al" the certificate signing will still successfully complete.

      Attachments

      None.

      Repro Steps

      1. On an agent send a certificate request to the master.
      2. On master execute the following command:

      puppet cert sign --al

      Expect

      Puppet should fail and report an error that the "--al" option is invalid.

      Actual

      Puppet interprets the invalid "--al" as "--all" and successfully signs all certificate requests.


      [root@centos6 ~]# puppet cert sign --al

      Notice: Signed certificate request for w2k8r2.vm
      Notice: Removing file Puppet::SSL::CertificateRequest w2k8r2.vm at '/etc/puppetlabs/puppet/ssl/ca/requests/w2k8r2.vm.pem'

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ryan.gard Ryan Gard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support