diff options
| author | James Turnbull <james@lovedthanlost.net> | 2009-05-30 10:39:10 +1000 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-05-30 10:39:10 +1000 |
| commit | 3af2dbf32e4d74d5027b936ed652d488ecd7881f (patch) | |
| tree | 4f01720f0fb21d21e20d22190a0ff89e993e0241 /lib/puppet/ssl | |
| parent | 62534a1622c710eb52b681d96aca8687c597190c (diff) | |
| download | puppet-3af2dbf32e4d74d5027b936ed652d488ecd7881f.tar.gz puppet-3af2dbf32e4d74d5027b936ed652d488ecd7881f.tar.xz puppet-3af2dbf32e4d74d5027b936ed652d488ecd7881f.zip | |
JRuby OpenSSL implementation is more strict than real ruby one and
requires certificate serial number to be strictly positive.
Diffstat (limited to 'lib/puppet/ssl')
| -rw-r--r-- | lib/puppet/ssl/certificate_authority.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/ssl/certificate_authority.rb b/lib/puppet/ssl/certificate_authority.rb index 08feff0ac..4a7d4615b 100644 --- a/lib/puppet/ssl/certificate_authority.rb +++ b/lib/puppet/ssl/certificate_authority.rb @@ -184,7 +184,7 @@ class Puppet::SSL::CertificateAuthority # it, but with a mode we can't actually read in some cases. So, use # a default before the lock. unless FileTest.exist?(Puppet[:serial]) - serial = 0x0 + serial = 0x1 end Puppet.settings.readwritelock(:serial) { |f| |
