Class | Puppet::SSL::CertificateAuthority |
In: |
lib/puppet/ssl/certificate_authority.rb
|
Parent: | Object |
The class that knows how to sign certificates. It creates a ‘special’ SSL::Host whose name is ‘ca’, thus indicating that, well, it‘s the CA. There‘s some magic in the indirector/ssl_file terminus base class that does that for us.
This class mostly just signs certs for us, but
it can also be seen as a general interface into all of the SSL stuff.
host | [R] | |
name | [R] |
Create and run an applicator. I wanted to build an interface where you could do something like ‘ca.apply(:generate).to(:all) but I don‘t think it‘s really possible.
This initializes our CA so it actually works. This should be a private method, except that you can‘t any-instance stub private methods, which is awesome. This method only really exists to provide a stub-point during testing.