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

automatically removing my cert after generating it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: PUP 4.10.9
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      +foreman and puppet server on the same server
      + a centos puppet agent

    • Template:
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      I cannot generate and sign an agent to integrate it to foreman. Why ?
      here is the generating :
      Debug: /File[/etc/puppetlabs/code/environments/production]: Adding autorequire relationship with File[/etc/puppetlabs/code]
      Debug: Finishing transaction 27127840
      Debug: Using cached certificate for ca
      Debug: Runtime environment: puppet_version=4.10.9, ruby_version=2.1.9, run_mode=master, default_encoding=UTF-8
      Info: Creating a new SSL key for slavepoc.edc
      Info: csr_attributes file loading from /etc/puppetlabs/puppet/csr_attributes.yaml
      Info: Creating a new SSL certificate request for slavepoc.edc.
      Info: Certificate Request fingerprint (SHA256): 17:EE:1C:9B:F5:9D:2A:80:23:F5:31:77:32:20:19:57:4E:7C:DB:8F:B9:6D:67:A6:B0:33:F1:36:A7:FD:63:85
      Notice: slavepoc.edc. has a waiting certificate request
      Debug: Using cached certificate for ca
      Info: authstore: defaulting to no access for slavepoc
      Debug: Using cached certificate for ca
      Debug: Using cached certificate_request for slavepoc.edc
      Notice: Signed certificate request for slavepoc.edc
      Notice: Removing file Puppet::SSL::CertificateRequest slavepoc.edc at '/etc/puppetlabs/puppe.pem t/ssl/ca/requests/slavepoc.edc.pem'
      Notice: Removing file Puppet::SSL::CertificateRequest slavepoc.edc at '/etc/puppetlabs/puppet/ssl/certificate_requests/slavepoc.edc.pem'

      and Here the signing :
      [root@foreman ludovic_palamede]# puppet cert sign slavepoc.edc
      Error: Could not find CSR for: "slavepoc.edc".

      The agent cannot

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            manzion_111 marde meucheul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support