fetchcert

pdk
Fetch a remote certificate and store it locally

DO! DevOps

dodevops

7,209 downloads

3,173 latest version

5.0 quality score

Version information

  • 2.1.0 (latest)
  • 0.1.0
released Sep 3rd 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0
  • CentOS
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

dodevops/fetchcert — version 2.1.0 Sep 3rd 2019

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.