pki

andrewrothstein.pki

Build Status

A role for managing a PKI. Leverags cfssl to build a CA key/cert, and collection of key/cert pairs for a fleet of hosts. Supports subject alternate names. Saved me from having to learn the openssl command line!

Requirements

See meta/main.yml

Role Variables

See defaults/main.yml

Dependencies

See meta/main.yml

Example Playbook

Recommended to target localhost if you're managing a local eyes-above-the-wall PKI.

- hosts: localhost
  connection: local
  roles:
    - role: andrewrothstein.pki
      pki_dir: ~/pki
      pki_self_sign: Ture
      pki_ca:
        cname: ca.foo.io
      pki_servers:
        - cname: host1.foo.io
        - cname: host2.foo.io
        - cname: host3.foo.io

License

MIT

Author Information

Andrew Rothstein andrew.rothstein@gmail.com

About

role to create a small pki

Install
ansible-galaxy install andrewrothstein/ansible-pki
GitHub repository
License
mit
Downloads
9553
Owner
Dreamer, coder