dodevops-fetchcert

Puppet module to fetch a remote certificate and store it locally


Keywords
certificates, openssl, puppet, puppet-module
License
MIT
Install
puppet module install dodevops-fetchcert --version 2.1.0

Documentation

fetchcert

Travis

Fetch a remote certificate and store it locally

Introduction

This module fetches a remote certificate using the openssl s_client function and stores it to a local file.

Dependencies

  • puppetlabs-stdlib
  • "openssl" command is available locally (can usually be simply installed with the "package"-type)

Usage

With puppet

To download a certificate, simply use the defined type "fetchcert::fetch":

fetchcert::fetch {
  '/tmp/mycert.pem':
    source_host => 'mysource.example.com'
}

With hiera

This module includes hiera support. Just include the class "fetchcert" and define the hash "fetchcert::fetch"

Parameters

See the documentation.