cookbook 'ca-certificates', '~> 0.2.0'
ca-certificates (2) Versions 0.2.0 Follow1
Installs/Configures ca-certificates
cookbook 'ca-certificates', '~> 0.2.0', :supermarket
knife supermarket install ca-certificates
knife supermarket download ca-certificates
ca-certificates Cookbook
This cookbook installs ca-certificates.
How to generate the base ca-bundle.pem
git clone https://github.com/agl/extract-nss-root-certs.git
cd extract-nss-root-certs
curl https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt -o certdata.txt
go run convert_mozilla_certdata.go -to-files=true
[[ -f ca-bundle.pem ]] && rm -f ca-bundle.pem || touch ca-bundle.pem
for cert in `ls *.pem`; do openssl x509 -text -in ${cert} >> ca-bundle.pem; done
Requirements
OS
Must be running a RHEL distro. I added debian support recently, but it's testing is very limited.
Attributes
package
This is the name of the package to be installed by the package manager.
ca-bundle_path
This is the location of the actual ca-bundle.crt that is installed by the package manager.
Usage
ca-certificates::default
Just include ca-certificates
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[ca-certificates]" ] }
License and Authors
Authors: Jason Barnett (J@sonBarnett.com)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
ca-certificates CHANGELOG
This file is used to list changes made in each version of the ca-certificates cookbook.
0.1.0
- Jason Barnett - Initial release of ca-certificates
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 failed this metric
Failure: Cookbook should not contain binaries. Found:
ca-certificates/extract-nss-root-certs/certdata.txt (size > 1048576 bytes)
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 failed this metric
Failure: Cookbook should not contain binaries. Found:
ca-certificates/extract-nss-root-certs/certdata.txt (size > 1048576 bytes)
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 passed this metric
0.2.0 failed this metric
Failure: Cookbook should not contain binaries. Found:
ca-certificates/extract-nss-root-certs/certdata.txt (size > 1048576 bytes)
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number