lib/grenache/http.rb in grenache-ruby-http-0.2.12 vs lib/grenache/http.rb in grenache-ruby-http-0.2.13
- old
+ new
@@ -34,11 +34,13 @@
if tls?
server.ssl = true
server.ssl_options = {
private_key_file: config.key,
cert_chain_file: config.cert_pem,
+ ecdh_curve: config.cert_ecdh_curve,
verify_peer: true
}
+
server.backend.ca_cert = File.read config.ca
end
server.start
}
end