Skip to content
Pull request Compare This branch is 322 commits behind master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Creating SSL certificates is a common task done in web application infrastructures, so a rake task is provided to generate certificates. These certificates are stored here by the ssl_cert task.

Configure the values used in the SSL certificate by modifying config/rake.rb.

To generate a certificate set for a new monitoring server, for example:

rake ssl_cert

Once the certificates are generated, copy them into the cookbook(s) where you want to use them.

cp certificates/* cookbooks/COOKBOOK/files/default

In the recipe for that cookbook, create a cookbook_file resource to configure a resource that puts them in place on the destination server.

cookbook_file '/etc/apache2/ssl/'
  owner 'root'
  group 'root'
  mode 0600
Something went wrong with that request. Please try again.