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

Puppet Agent : cannot add certificates for HTTPS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: PUP 4.10.9, PUP 5.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      A ".pem" file in /opt/puppetlabs/puppet/certs/ directory must be used for https validation of url

      Show
      A ".pem" file in /opt/puppetlabs/puppet/certs/ directory must be used for https validation of url
    • Epic Link:
    • Team:
      Coremunity
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Cannot add Enterprise certificates for https in ressources.

      When using for example

      file { '/path/myfile':
        source => 'https://myserver.mydomain/myfile',
      }
      

      the agent looks for certificates in /opt/puppetlabs/puppet/ssl/cert.pem

      it should look into /opt/puppetlabs/puppet/ssl/certs/ directory too

      but is only looking for a strange filename in this directory : 08fa37bb.0

      strace of a puppet apply shows :

      stat("/opt/puppetlabs/puppet/ssl/certs/08fa37bb.0")

       

      If we put certificates in this file, it is ok, but does not seem to be normal. We should be able to put a file /opt/puppetlabs/puppet/ssl/certs/cert.pem to have enterprise certificates

       

      Not sure it is puppet or ruby issue

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fjouvanceau Franck Jouvanceau
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support