Skip to content
SSL certificates cookbook for Chef
Find file
Latest commit 83cebec @tanordheim tanordheim Merge pull request #1 from typo3-cookbooks/master
Couple of changes
Failed to load latest commit information.
definitions Use file resource instead of template
recipes Increase test coverage
spec Increase test coverage Update README
metadata.rb Bump version


Installs and configures SSL certificates for a node.

This cookbook is inspired by the 37 Signals SSL certificates cookbook.


Only tested on Debian 6.0.


SSL certificates are defined in the "certificates" cookbook.

  "id": "my_ssl_cert",
  "name": "",
  "key": "[raw SSL key]",
  "crt": "[raw SSL crt]",
  "pem": "[raw SSL pem]",
  "ca_bundle": "[raw SSL ca-bundle]"

To install a SSL certificate on a node, use the SSL certificate definition in your recipe, like this:

ssl_certificate ''

To create a certificate file combined of the crt and the ca-bundle (e.g. for nginx), set the attribute ca_bundle_combined:

ssl_certificate `` do
  ca_bundle_combined true
Something went wrong with that request. Please try again.