Is this a critical security issue?
Describe the Bug
- touch /etc/puppetlabs/puppet/csr_attributes.yaml
- stop puppetserver
- remove /etc/puppetlabs/puppetserver/ca/signed/servername.pem
- remove /etc/puppetlabs/puppet/ssl/certs/servername.pem
- remove /etc/puppetlabs/puppet/ssl/private_keys/servername.pem
- remove /etc/puppetlabs/puppet/ssl/public_keys/servername.pem
- run:
puppetserver ca generate --ca-client --certname servername --force
generates an error:
Error:
Invalid CSR attributes, expected instance of Hash, received instance of NilClass
Invalid CSR attributes, expected instance of Hash, received instance of NilClass
deleting the csr_attributes.yaml file fixes the issue.
Expected Behavior
no error ;)
Steps to Reproduce
see above
Environment
puppetserver version: 8.14.1
debian trixie
Additional Context
The empty csr_attributes.yaml file is not an issue if the openvox-agent generates a csr for the server !
Relevant log output
Is this a critical security issue?
Describe the Bug
puppetserver ca generate --ca-client --certname servername --forcegenerates an error:
deleting the csr_attributes.yaml file fixes the issue.
Expected Behavior
no error ;)
Steps to Reproduce
see above
Environment
puppetserver version: 8.14.1
debian trixie
Additional Context
The empty csr_attributes.yaml file is not an issue if the openvox-agent generates a csr for the server !
Relevant log output