Puppet 4.10.12 Exiting; no certificate found and waitforcert is disabled

Discussion in 'Linux Admins, Storage and Virtualization' started by VlaKl, Jul 29, 2019.

  1. VlaKl

    VlaKl New Member

    Joined:
    Apr 26, 2019
    Messages:
    23
    Likes Received:
    0
    Hi

    Agent:

    puppet agent --no-daemonize --server puppetserver.my.test.com --onetime --verbose

    Exiting; no certificate found and waitforcert is disabled

    /etc/puppetlabs/puppet/puppet.conf

    [agent]
    server = puppetserver.my.test.com


    Ping, telnet OK

    Server:

    [main]
    certname = puppetserver.my.test.com
    server = puppetserver.my.test.com
    [master]
    vardir = /opt/puppetlabs/server/data/puppetserver
    logdir = /var/log/puppetlabs/puppetserver
    rundir = /var/run/puppetlabs/puppetserver
    pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
    codedir = /etc/puppetlabs/code



    What is ? )
     
    #1
  2. fossxplorer

    fossxplorer Active Member

    Joined:
    Mar 17, 2016
    Messages:
    407
    Likes Received:
    44
    Do the following steps in given order:
    1. on agent/client run: puppet agent -t
    2. on the master (puppetserver.my.test.com) run: puppet cert sign <FQDNS of the agent>
    3. on agent run again: puppet agent -t

    This should get you going :)
     
    #2
    Last edited: Jul 29, 2019
  3. VlaKl

    VlaKl New Member

    Joined:
    Apr 26, 2019
    Messages:
    23
    Likes Received:
    0
    1) Exiting; no certificate found and waitforcert is disabled
    2) Error: Could not find CSR for: "puppetclient.my.test.com".
    3) Exiting; no certificate found and waitforcert is disabled
     
    #3
    Last edited: Jul 29, 2019
  4. fossxplorer

    fossxplorer Active Member

    Joined:
    Mar 17, 2016
    Messages:
    407
    Likes Received:
    44
    I need a more details from you to further help you. Can you paste the full agent and master config?
    Also check that your agent's FQDN is correctly set, check with hostnamectl. Just in case, try to list the certs awaiting to be signed with 'puppet cert list' on the master.
    Does the puppet agent version correspond to master, i.e are both running 4.x?
    Less important, what distro is this?
     
    #4
  5. VlaKl

    VlaKl New Member

    Joined:
    Apr 26, 2019
    Messages:
    23
    Likes Received:
    0
    Thanks. The solution to all problems in life FQDN )
     
    #5

Share This Page