Index: ruby-http/spec/support/ssl_helper.rb
===================================================================
--- ruby-http.orig/spec/support/ssl_helper.rb	2016-12-05 22:51:31.319414848 -0500
+++ ruby-http/spec/support/ssl_helper.rb	2016-12-05 22:53:22.212685884 -0500
@@ -33,6 +33,8 @@
   end
 
   class ChildCertificate < ::CertificateAuthority::Certificate
+    EXTENSIONS = {"extendedKeyUsage" => {"usage" => %w(serverAuth clientAuth)}}
+
     def initialize(parent)
       super()
 
@@ -43,7 +45,8 @@
 
       self.parent = parent
 
-      sign!
+      sign!("extensions" => EXTENSIONS)
+
     end
 
     def cert
