lib/acme/client/self_sign_certificate.rb in acme-client-0.5.0 vs lib/acme/client/self_sign_certificate.rb in acme-client-0.5.1

- old
+ new

@@ -46,9 +46,10 @@ certificate = OpenSSL::X509::Certificate.new certificate.not_before = not_before certificate.not_after = not_after certificate.public_key = private_key.public_key certificate.version = 2 + certificate.serial = 1 certificate end def generate_extension_factory(certificate) extension_factory = OpenSSL::X509::ExtensionFactory.new