Giter Site home page Giter Site logo

puppet-ipacerts's Introduction

ipacerts

Description

A module for managing 3rd party certificates for FreeIPA.

Setup

Define a hash, like

1: 'https://www.tbs-x509.com/Comodo_AAA_Certificate_Services.crt'
2: 'https://www.tbs-x509.com/USERTrustRSAAAACertificateServices.crt'
3: 'https://comodo.tbs-certificats.com/SectigoRSADomainValidationSecureServerCA.crt'

Note: The order is critically important. Define it in order from root CA to intermediates to the end-of-chain.

Then declare the class:

class {'::ipacerts':
  chainhash                  => $mychainhash,
  admin_password             => 'changeme',
  ipa_domain                 => 'MYIPA.EXAMPLE.COM',
  private_key_source         => puppet:///files/my.key,
  server_crt_source          => puppet:///files/my.crt,
  cert_nickname              => 'myipa.example.com',
}

See manifests/init for more parameters and data/common.yaml for defaults.

Requirements

This module depends on easy_ipa modules and is meant to supplement it.

Limitations

Many for now. Minimally tested. I can think of many cases where it fails.

TODO

  • Create rspec tests
  • Allow multiple CA certificate chains and certificate/key pairs (with defines)
  • Better documentation
  • Certificate NSS nickames based on certificate subject
  • Change CAs, certificates and keys on the fly
  • Support removing/changing Webui and CA certificates at the same time

puppet-ipacerts's People

Contributors

kibahop avatar

Watchers

James Cloos avatar Mikko Vilpponen avatar Samuli Seppänen avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.