lib/localhost/authority.rb in localhost-1.1.10 vs lib/localhost/authority.rb in localhost-1.2.0
- old
+ new
@@ -110,10 +110,10 @@
certificate.serial = Time.now.to_i
certificate.version = 2
certificate.not_before = Time.now
- certificate.not_after = Time.now + (3600 * 24 * 365 * 10)
+ certificate.not_after = Time.now + (3600 * 24 * 365)
extension_factory = OpenSSL::X509::ExtensionFactory.new
extension_factory.subject_certificate = certificate
extension_factory.issuer_certificate = certificate