-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow agent CSR saving to file #2544
Comments
The
|
Don't see BTW: what is |
Install puppet-agent packages from https://apt.puppet.com/. We're up to 7.31.0 https://www.puppet.com/docs/puppet/7/release_notes_puppet.html#release_notes_puppet_x-7-31-0 The |
I filed puppetlabs/puppet-docs#1159 to get the docs updated |
Use Case
Would like to disable all unauthenicated puppetserver API backends and allow to connect only puppet agents with valid client certs to disallow anonymous clients to submit CSR (protection against flooding requests dir and anonymous access to API). CSR/CRT will be transferred with other trusted path between agent and puppetserver (i.e. ssh connection).
Describe the Solution You Would Like
Allow
puppet ssl
to generate agent's private key and CSR and just save it in files (i.e./var/lib/puppet/ssl/private_keys/myhost.mydomain.pem
and/var/lib/puppet/ssl/certificate_requests/myhost.mydomain.pem
) without sending singing request to puppetserver. Maybe with new actionpuppet ssl generate_request
or--no-submit
switch inpuppet ssl bootstrap
action.Now only private key is saved on puppetserver communication error and CSR is gone.
Describe Alternatives You've Considered
Manually generating CSR (and privkey optionally) with openssl on agent.
Additional Context
Don't like exposing unauthenticated API backends where not absolutely necessary.
The text was updated successfully, but these errors were encountered: