mirror of
https://github.com/brunoos/luasec.git
synced 2025-07-12 22:14:23 +02:00
update protocol samples(bring "tlsv1_2" to clients and "any" to servers)
This commit is contained in:
@ -6,7 +6,7 @@ local ssl = require("ssl")
|
||||
|
||||
local params = {
|
||||
mode = "client",
|
||||
protocol = "tlsv1",
|
||||
protocol = "tlsv1_2",
|
||||
key = "../certs/clientAkey.pem",
|
||||
certificate = "../certs/clientA.pem",
|
||||
cafile = "../certs/rootA.pem",
|
||||
|
@ -31,7 +31,7 @@ end
|
||||
|
||||
local params = {
|
||||
mode = "server",
|
||||
protocol = "tlsv1",
|
||||
protocol = "any",
|
||||
key = "../certs/serverAkey.pem",
|
||||
certificate = "../certs/serverA.pem",
|
||||
cafile = "../certs/rootA.pem",
|
||||
|
Reference in New Issue
Block a user