mirror of
https://github.com/brunoos/luasec.git
synced 2025-07-13 06:24:22 +02:00
update protocol samples(bring "tlsv1_2" to clients and "any" to servers)
This commit is contained in:
@ -3,7 +3,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",
|
||||
|
@ -3,7 +3,7 @@ local ssl = require("ssl")
|
||||
|
||||
local params01 = {
|
||||
mode = "server",
|
||||
protocol = "tlsv1",
|
||||
protocol = "any",
|
||||
key = "../certs/serverAkey.pem",
|
||||
certificate = "../certs/serverA.pem",
|
||||
cafile = "../certs/rootA.pem",
|
||||
@ -14,7 +14,7 @@ local params01 = {
|
||||
|
||||
local params02 = {
|
||||
mode = "server",
|
||||
protocol = "tlsv1",
|
||||
protocol = "any",
|
||||
key = "../certs/serverAAkey.pem",
|
||||
certificate = "../certs/serverAA.pem",
|
||||
cafile = "../certs/rootA.pem",
|
||||
|
Reference in New Issue
Block a user