Update SSL certificate on chef-clients -


a remote node running chef checkin chef-server requires certificate file in /etc/chef/trusted_certs/. handle through script wrote during node provisioning process.

however, deployed hosts, can't anymore. had update ssl certificate chef-server, need update remote nodes.

so what's best way update needed ssl certificates on deployed chef-clients don't have direct access to?

the best way update using chef itself, though mean need careful roll out new public/ca certificate before hosts before updating private half on chef server. in general shouldn't come much. if expect regenerating server's key lot, should use more formal internal ca , deploy ca cert (which changes) hosts.

the specifics of update cookbook_file resource , cram certs trust in cookbook somewhere.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -