11件ヒット
[1-11件を表示]
(0.066秒)
ライブラリ
- openssl (11)
検索結果
-
OpenSSL
:: SSL :: SSLServer (19.0) -
SSL サーバーのためのクラス。
...出力するだけのサーバです。
require 'socket'
require 'openssl'
include OpenSSL
ctx = SSL::SSLContext.new()
ctx.cert = X509::Certificate.new(File.read('cert.pem'))
ctx.key = PKey::RSA.new(File.read('privkey.pem'))
svr = TCPServer.new(2007)
serv = SSL::SSLServer.new(...