diff --git a/samples/dhparam/client.lua b/samples/dhparam/client.lua index 48bc0bb..fb299ec 100644 --- a/samples/dhparam/client.lua +++ b/samples/dhparam/client.lua @@ -6,12 +6,13 @@ local ssl = require("ssl") local params = { mode = "client", - protocol = "tlsv1_2", + protocol = "any", key = "../certs/clientAkey.pem", certificate = "../certs/clientA.pem", cafile = "../certs/rootA.pem", verify = {"peer", "fail_if_no_peer_cert"}, options = "all", + ciphers = "EDH+AESGCM" } local peer = socket.tcp() diff --git a/samples/dhparam/server.lua b/samples/dhparam/server.lua index 37661d5..1fbbbaa 100644 --- a/samples/dhparam/server.lua +++ b/samples/dhparam/server.lua @@ -38,6 +38,7 @@ local params = { verify = {"peer", "fail_if_no_peer_cert"}, options = "all", dhparam = dhparam_cb, + ciphers = "EDH+AESGCM" }