るりまサーチ

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

別のキーワード

  1. openssl new
  2. openssl digest
  3. openssl to_der
  4. openssl to_s
  5. openssl hexdigest

クラス

モジュール

キーワード

検索結果

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

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

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

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

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

...する OpenSSL::SSL::SSLContext オブジェクト
を設定するためのものです。詳しくは OpenSSL::SSL::SSLContext を参照して下さい。

: :ServerSoftware
サーバソフト名を設定する。デフォルトでは
"WEBrick/VERSION (Ruby/VERSION/RELEASE_DATE) OpenSSL/VERSION...
...icate
サーバ証明書を設定します。OpenSSL::X509::Certificate オブジェクトです。
nil の場合、WEBrick は自己署名証明書を自動的に生成します。
: :SSLPrivateKey
サーバの秘密鍵を設定します。OpenSSL::PKey::PKey の
サブクラスのインス...
...ントに送る CA のリストです。
OpenSSL
::SSL::SSLContext#client_ca を参照してください。
: :SSLExtraChainCert
証明書チェーンです。所有している証明書からルート CA までの証明書のリストです。
OpenSSL
::SSL::SSLContext#extra_chain_cert を参...

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

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

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

:ServerSoftware => "#{svrsoft} OpenSSL/#{osslv}",
:SSLEnable => true, # Ruby 1.8.3 以降では false がデフォルトです。
:SSLCertificate => nil,
:SSLPriv...
...aChainCert => nil,
:SSLCACertificateFile => nil,
:SSLCACertificatePath => nil,
:SSLCertificateStore => nil,
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
:SSLVerifyDepth => nil,
:SSLVerifyCallback => nil, # custom verification
:SSLTimeout => nil,
:SSL...
...ly => true,
# Must specify if you use auto generated certificate.
:SSLCertName => nil,
:SSLCertComment => "Generated by Ruby/OpenSSL"

@param config サーバの設定を保存したハッシュを指定します。

@param default サーバのデフォルトの設定を保存...