るりまサーチ

最速Rubyリファレンスマニュアル検索!
44件ヒット [1-44件を表示] (0.073秒)
トップページ > クエリ:I[x] > ライブラリ:webrick/ssl[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. matrix i
  5. csv to_i

クラス

モジュール

キーワード

検索結果

WEBrick::GenericServer.new(config = {}, default = WEBrick::Config::General) -> WEBrick::GenericServer (6202.0)

GenericServer オブジェクトを生成して返します。

...GenericServer オブジェクトを生成して返します。

config で有効な項目が増えます。以下は増える項目とそのデフォルト値です。

:ServerSoftware => "#{svrsoft} OpenSSL/#{osslv}",
:SSLEnable => true, # Ruby 1.8.3 以降では false がデ...
...tificate => nil,
:SSLPrivateKey => nil,
:SSLClientCA => nil,
:SSLExtraChainCert => nil,
:SSLCACertificateFile => nil,
:SSLCACertificatePath => nil,
:SSLCertificateStore => nil,
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
:SSLVerifyDepth => ni...
...ifyCallback => nil, # custom verification
:SSLTimeout => nil,
:SSLOptions => nil,
:SSLStartImmediately => true,
# Must specify if you use auto generated certificate.
:SSLCertName => nil,
:SSLCertComment => "Generated by Ruby/OpenSSL"

@param confi...

WEBrick::GenericServer#ssl_context -> OpenSSL::SSL::SSLContext | nil (6102.0)

サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。

サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。

WEBrick::Config::General -> Hash (3002.0)

WEBrick::Config::SSL の内容がマージされます。

...WEBrick::Config::SSL の内容がマージされます。...

WEBrick::Config::SSL -> Hash (3002.0)

以下のほとんどの項目はサーバが保持する OpenSSL::SSL::SSLContext オブジェクト を設定するためのものです。詳しくは OpenSSL::SSL::SSLContext を参照して下さい。

...ルトでは
"WEBrick/VERSION (Ruby/VERSION/RELEASE_DATE) OpenSSL/VERSION"。
: :SSLEnable
ssl を有効にするかどうかを設定します。
Ruby 1.8.2 まではデフォルトで true です。
Ruby 1.8.3 以降はデフォルトで false です。
: :SSLCertificate
サーバ証明...
...OpenSSL::X509::Certificate オブジェクトです。
nil の場合、WEBrick は自己署名証明書を自動的に生成します。
: :SSLPrivateKey
サーバの秘密鍵を設定します。OpenSSL::PKey::PKey の
サブクラスのインスタンスです。
: :SSLClientCA
サーバ...
...SSLContext#client_ca を参照してください。
: :SSLExtraChainCert
証明書チェーンです。所有している証明書からルート CA までの証明書のリストです。
OpenSSL::SSL::SSLContext#extra_chain_cert を参照してください。
: :SSLCACertificateFile
接続...