Giter Site home page Giter Site logo

puppet-ssl's People

Contributors

aboe76 avatar arusso avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

puppet-ssl's Issues

Allow wildcard certificates

Hi,
currently wildcart certificates are not allowed. But his is an often used feature.
Is it possible to integrate this feature.

Greetings Jan

Update documentation

The following should be addressed:

  • Hiera is now a requirement as of 2.0.0 (I didn't like this idea after all -- not implemented)
  • Support for stdlib 2.6 is dropped as of 2.0.0 (commit 819040d)
  • Outline of all the public classes/defines and their attributes

Uknown function params_lookup

I get an error when trying to use this module. I have stdlibs 3.2.0. Are there any other modules this module depends on?

ssl::incommon always queries incommon, even if cert exists

The intention of the code:

$grab_x509 =  "mv -f ${ssl::params::crt_dir}/meta/${cn}.crt.tmp
                         ${ssl::params::crt_dir}/${cn}.crt; 
                         touch ${ssl::params::crt_dir}/meta/${cn}.lock" 
$check_x509 = 
  [ 
    "curl -q --silent ${url_x509} -o ${ssl::params::crt_dir}/meta/${cn}.crt.tmp",
    "cat ${ssl::params::crt_dir}/meta/${cn}.crt.tmp|head -n1|grep 'BEGIN CERTIFICATE'" 
  ]

# check if the cert is ready
exec { "get-cert-${cn}":
  creates => "${ssl::params::crt_dir}/meta/${cn}.lock",
  command => $grab_x509,
  onlyif  => $check_x509,
  path    => [ '/bin', '/usr/bin' ],
}

Is to only check InCommon when the lock file doesn't exist (via the creates parameter). Then, if it exists, it should only run if the downloaded certificate is valid (via the onlyif parameter).

The problem is, you can't use both creates and onlyif at the same time to control whether an exec runs.

On initial generation, a self-signed cert should be generated

Initially, before a signed cert is installed, a self-signed cert should be installed to allow for things depending on it's existence to still run (ie. Apache, Stunnel, etc). Since we submit the CSR generated by this class, under normal circumstances, we will never have a cert ready for the apache/stunnel/etc to read and load. This causes the puppet runs to fail if the service depends on it, and it is managed in puppet.

An option for also generating a loadable intermediate cert should be available as well, even if it's just copying the self-signed cert to the intermediate.crt.

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.