[root@w4jl4a7y7wi0c0j puppet]# ln -s /etc/puppetlabs/puppet/ca /etc/puppetlabs/puppet/ssl/ca |
[root@w4jl4a7y7wi0c0j puppet]# chown puppet:puppet /etc/puppetlabs/puppet/ca |
[root@w4jl4a7y7wi0c0j puppet]# systemctl start puppetserver |
[root@w4jl4a7y7wi0c0j puppet]# /opt/puppetlabs/puppet/bin/puppet config set server `facter fqdn` --section main |
[root@w4jl4a7y7wi0c0j puppet]# /opt/puppetlabs/puppet/bin/puppet agent -t |
Info: Using configured environment 'production' |
Info: Retrieving pluginfacts |
Info: Retrieving plugin |
Info: Retrieving locales |
Info: Caching catalog for w4jl4a7y7wi0c0j.delivery.puppetlabs.net |
Info: Applying configuration version '1564090147' |
Notice: Applied catalog in 0.02 seconds |
[root@w4jl4a7y7wi0c0j puppet]# rm -rf /etc/puppetlabs/puppet/ssl/ |
[root@w4jl4a7y7wi0c0j puppet]# find ca/ |
ca/ |
ca/requests |
ca/signed |
ca/signed/w4jl4a7y7wi0c0j.delivery.puppetlabs.net.pem |
ca/serial |
ca/infra_inventory.txt |
ca/infra_serials |
ca/inventory.txt |
ca/ca_pub.pem |
ca/ca_key.pem |
ca/ca_crt.pem |
ca/ca_crl.pem |
ca/infra_crl.pem |
[root@w4jl4a7y7wi0c0j puppet]# /opt/puppetlabs/puppet/bin/puppet agent -t |
Error: CA certificate is missing from the server |
Error: Could not run: CA certificate is missing from the server |
[root@w4jl4a7y7wi0c0j puppet]# systemctl restart puppetserver |
[root@w4jl4a7y7wi0c0j puppet]# /opt/puppetlabs/puppet/bin/puppet agent -t |
Info: Using configured environment 'production' |
Info: Retrieving pluginfacts |
Info: Retrieving plugin |
Info: Retrieving locales |
Info: Caching catalog for w4jl4a7y7wi0c0j.delivery.puppetlabs.net |
Info: Applying configuration version '1564090533' |
Notice: Applied catalog in 0.01 seconds
|