12
12
cafile = "../../certs/rootA.pem",
13
13
verify = {"peer", "fail_if_no_peer_cert"},
14
14
options = {"all", "no_sslv2"},
15
verifyext = {"lsec_continue", "crl_check", "crl_check_chain"},
19
19
local ctx = assert(ssl.newcontext(params))
24
22
local server = socket.tcp()
25
23
server:setoption('reuseaddr', true)
26
24
assert( server:bind("127.0.0.1", 8888) )