Description: Add missing x509v3 extensions in spec
--- a/spec/support/ssl_helper.rb
+++ b/spec/support/ssl_helper.rb
@@ -35,6 +35,8 @@
   end
 
   class ChildCertificate < ::CertificateAuthority::Certificate
+    EXTENSIONS = {"extendedKeyUsage" => {"usage" => %w(serverAuth clientAuth)}}
+
     def initialize(parent)
       super()
 
@@ -45,7 +47,8 @@
 
       self.parent = parent
 
-      sign!
+      sign!("extensions" => EXTENSIONS)
+
     end
 
     def cert
