Forge Home


CA Certificate Management


8,861 latest version

4.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.0 (latest)
  • 1.0.0
released Aug 20th 2015
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'spjmurray-ca_certificate', '1.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add spjmurray-ca_certificate
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install spjmurray-ca_certificate --version 1.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



spjmurray/ca_certificate — version 1.1.0 Aug 20th 2015

#CA Certificate

Build Status

####Table Of Contents

  1. Overview
  2. Module Description
  3. Usage
  4. Limitations


Installs a CA certificate into OpenSSL's trusted store and optionally Java's

###Module Description

Installs distro certificates, installs the requested CA, trusts the certificate then regenerates the trusted SSL directory. The CA to install can be a file resource, raw content, or an existing file on the host.

Java support injects the requested certificate into the requested store.


OpenSSL only

ca_certificate { 'puppet-ca':
  source => '/var/lib/puppet/ssl/certs/ca.pem',

OpenSSL and Java

ca_certificate { 'puppet-ca':
  source         => '/var/lib/puppet/ssl/certs/ca.pem',
  java           => true,
  java_keystore  => '/etc/ssl/certs/java/cacerts',
  java_storepass => 'changeit',


  1. Ubuntu only