pemtopfx
Version information
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, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
Start using this module
Add this module to your Puppetfile:
mod 'liger1978-pemtopfx', '0.1.2'
Learn more about managing modules with a PuppetfileDocumentation
pemtopfx
Table of Contents
- Description
- Usage - Configuration options and additional functionality
- Reference
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- Licenses
Description
Defined type pemtopfx
that creates pfx (PKCS12) cert files in Windows from Puppet and Hiera strings containing pem certs and keys.
Usage
To create a certificate:
pemtopfx {'C:\ProgramData\cert.pfx':
cert => $pemCertString,
key => $pemKeyString,
password => 'my_password',
}
Reference
For detailed information, see REFERENCE.md.
Limitations
- Windows only.
Development
Please send pull requests.
Licenses
puppet-pemtopfx: Copyright (c) 2020 Richard Grainger, Apache-2.0 Licence
crypto libraries: Copyright (c) 2011 Mario Majčica, CPOL Licence and Copyright (c) 2018 Československá obchodní banka, GPL v3 License
Reference
Table of Contents
Defined types
pemtopfx
: Create pfx cert files in Windows from Puppet and Hiera strings containing pem certs and keys
Defined types
pemtopfx
Defined type to create pfx cert files in Windows from Puppet and Hiera strings containing pem certs and keys.
Examples
pemtopfx {'C:\ProgramData\cert.pfx':
cert => $pemCertString,
key => $pemKeyString,
password => 'my_password',
}
Parameters
The following parameters are available in the pemtopfx
defined type.
cert
Data type: String[1]
String containing the pem cert to convert to pfx
key
Data type: String[1]
String containing the pem key for the cert to convert to pfx
password
Data type: String[1]
Password to use when creating the pfx file
pfx
Data type: Stdlib::Windowspath
Path of the pfx file to create
Default value: $title
scripts_dir
Data type: Stdlib::Windowspath
Path to store PowerShell scripts used during conversion process
Default value: 'C:\ProgramData'
Dependencies
- puppetlabs/stdlib (>=5.0.0 < 7.0.0)
- puppetlabs/powershell (>= 1.1.1 < 4.0.0)