Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-5831

template curl command is missing client certs

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Content
    • None
    • 1
    • None

      on the "Use template" modal, the curl command is missing the client certs for authentication:

       

       

      curl -o /etc/yum.repos.d/template.repo  https://cert.console.redhat.com/api/content-sources/v1/templates/20d7a7d9-71cc-4495-8294-484c8ecd9552/config.repo

       

       

       

      This should be:

       

       

      curl --cert /etc/pki/consumer/cert.pem  --key /etc/pki/consumer/key.pem   -o /etc/yum.repos.d/template.repo  https://cert.console.redhat.com/api/content-sources/v1/templates/20d7a7d9-71cc-4495-8294-484c8ecd9552/config.repo

       

              rhn-engineering-jsherrill Justin Sherrill
              rhn-engineering-jsherrill Justin Sherrill
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: