diff options
| author | Luke Kanies <luke@madstop.com> | 2008-04-02 10:53:14 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-04-15 21:34:06 -0500 |
| commit | 174b9c99f7eb904ec7d415d3884f3620b6b65d40 (patch) | |
| tree | 137b8578dc3f3ea22da199ef81db7c67faa8078f /lib/puppet | |
| parent | 546ac97398caa1e9defb34df9567d798e4959020 (diff) | |
| download | puppet-174b9c99f7eb904ec7d415d3884f3620b6b65d40.tar.gz puppet-174b9c99f7eb904ec7d415d3884f3620b6b65d40.tar.xz puppet-174b9c99f7eb904ec7d415d3884f3620b6b65d40.zip | |
Actually signing the certificates in the CA.
Diffstat (limited to 'lib/puppet')
| -rw-r--r-- | lib/puppet/ssl/certificate_authority.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/ssl/certificate_authority.rb b/lib/puppet/ssl/certificate_authority.rb index aa997aaf6..3192c2844 100644 --- a/lib/puppet/ssl/certificate_authority.rb +++ b/lib/puppet/ssl/certificate_authority.rb @@ -79,6 +79,7 @@ class Puppet::SSL::CertificateAuthority < Puppet::SSL::Host cert = Puppet::SSL::Certificate.new(host) cert.content = Puppet::SSL::CertificateFactory.new(cert_type, csr.content, issuer, next_serial).result + cert.content.sign(key, OpenSSL::Digest::SHA1.new) Puppet.notice "Signed certificate request for %s" % host |
