External CA configuration with puppet agent
I am trying to configure the puppetserver and agent to use external CA with - Root self-signed CA & - Master and Agent having its own ssl certificate
After configuring puppetserver (in webserver.conf), the service was started successfully.
I configured the agent to use certificates in puppet.conf. Settings below.
hostcert = /usr/cachelogic/var/device-pki/dev_cert.pem hostprivkey = /usr/cachelogic/var/device-pki/dev_key.pem localcacert = /usr/cachelogic/var/device-pki/CAcert.pem
While starting the puppet agent following this the error message that I get.
Debug: Using cached certificate for ca Debug: Creating new connection for https://cp3.zzz152d1.cdn:8140 Debug: Using cached certificate for ca Error: Could not run: stack level too deep /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:63
Any pointers on debugging this issue will be helpful. Thanks.