Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2269

Community 3.8.0 cf-agent bootstrap fails if no keys exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Unconfirmed
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
      None

      Description

      Community 3.8.0 cf-agent bootstrap fails if no keys but documentation states a public-private key pair "is automatically generated during package installation or during bootstrap."

      https://docs.cfengine.com/docs/3.8/guide-introduction-networking.html

      <pre>
      root@chong [~]# cf-agent -V
      CFEngine Core 3.8.0
      root@chong [~]# ll /var/cfengine/ppkeys
      total 0
      root@chong [~]# cf-agent -Bcorsair
      notice: Bootstrap mode: implicitly trusting server, use --trust-server=no if server trust is already established
      R: No public/private key pair is loaded, please create one by running "cf-key"
      error: Fatal CFEngine error: cf-agent aborted on defined class 'no_ppkeys_ABORT'
      </pre>

      Prior to 3.8.0 cf-agent -B worked as documented.

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              ringersoll Bob Ingersoll
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel