ListenOptionsHttpsExtensions.UseHttps メソッド

定義

オーバーロード

UseHttps(ListenOptions)

使用可能な場合は、既定の証明書で HTTPS を使用するように Kestrel を構成します。 既定の証明書が構成されていない場合、これはスローされます。

UseHttps(ListenOptions, HttpsConnectionAdapterOptions)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

UseHttps(ListenOptions, TlsHandshakeCallbackOptions)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

UseHttps(ListenOptions, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, X509Certificate2)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, String)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, ServerOptionsSelectionCallback, Object)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

UseHttps(ListenOptions, StoreName, String)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, X509Certificate2, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, String, String)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, ServerOptionsSelectionCallback, Object, TimeSpan)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

UseHttps(ListenOptions, StoreName, String, Boolean)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, String, String, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, StoreName, String, Boolean, StoreLocation)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions, StoreName, String, Boolean, StoreLocation, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

UseHttps(ListenOptions)

使用可能な場合は、既定の証明書で HTTPS を使用するように Kestrel を構成します。 既定の証明書が構成されていない場合、これはスローされます。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, HttpsConnectionAdapterOptions)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, Microsoft::AspNetCore::Server::Kestrel::Https::HttpsConnectionAdapterOptions ^ httpsOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions httpsOptions);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, httpsOptions As HttpsConnectionAdapterOptions) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

httpsOptions
HttpsConnectionAdapterOptions

HTTPS を構成するためのオプション。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, TlsHandshakeCallbackOptions)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackOptions callbackOptions);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, callbackOptions As TlsHandshakeCallbackOptions) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

callbackOptions
TlsHandshakeCallbackOptions

接続ごとのコールバックのオプション。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, Action<Microsoft::AspNetCore::Server::Kestrel::Https::HttpsConnectionAdapterOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> configureOptions);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, configureOptions As Action(Of HttpsConnectionAdapterOptions)) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

configureOptions
Action<HttpsConnectionAdapterOptions>

HTTPS のオプションを構成するアクション。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, X509Certificate2)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ serverCertificate);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Security.Cryptography.X509Certificates.X509Certificate2 serverCertificate);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, serverCertificate As X509Certificate2) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

serverCertificate
X509Certificate2

X.509 証明書。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, String)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::String ^ fileName);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string fileName);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * string -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, fileName As String) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

fileName
String

アプリケーション コンテンツ ファイルを含むディレクトリを基準とした証明書ファイルの名前。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, ServerOptionsSelectionCallback, Object)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Net::Security::ServerOptionsSelectionCallback ^ serverOptionsSelectionCallback, System::Object ^ state);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Net.Security.ServerOptionsSelectionCallback serverOptionsSelectionCallback, object state);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Net.Security.ServerOptionsSelectionCallback * obj -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, serverOptionsSelectionCallback As ServerOptionsSelectionCallback, state As Object) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

serverOptionsSelectionCallback
ServerOptionsSelectionCallback

HTTPS オプションを構成するためのコールバック。

state
Object

serverOptionsSelectionCallback状態。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, StoreName, String)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Security::Cryptography::X509Certificates::StoreName storeName, System::String ^ subject);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Security.Cryptography.X509Certificates.StoreName storeName, string subject);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Security.Cryptography.X509Certificates.StoreName * string -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, storeName As StoreName, subject As String) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

storeName
StoreName

証明書の読み込み元の証明書ストア。

subject
String

読み込む証明書のサブジェクト名。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, X509Certificate2, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ serverCertificate, Action<Microsoft::AspNetCore::Server::Kestrel::Https::HttpsConnectionAdapterOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Security.Cryptography.X509Certificates.X509Certificate2 serverCertificate, Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> configureOptions);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Security.Cryptography.X509Certificates.X509Certificate2 * Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, serverCertificate As X509Certificate2, configureOptions As Action(Of HttpsConnectionAdapterOptions)) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

serverCertificate
X509Certificate2

X.509 証明書。

configureOptions
Action<HttpsConnectionAdapterOptions>

を構成 HttpsConnectionAdapterOptionsするアクション。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, String, String)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::String ^ fileName, System::String ^ password);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string fileName, string password);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string fileName, string? password);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * string * string -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, fileName As String, password As String) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

fileName
String

アプリケーション コンテンツ ファイルを含むディレクトリを基準とした証明書ファイルの名前。

password
String

X.509 証明書データにアクセスするために必要なパスワード。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, ServerOptionsSelectionCallback, Object, TimeSpan)

HTTPS を使用するように Kestrel を構成します。 この場合、config または ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)で指定された既定の証明書やその他の既定値は使用されません。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Net::Security::ServerOptionsSelectionCallback ^ serverOptionsSelectionCallback, System::Object ^ state, TimeSpan handshakeTimeout);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Net.Security.ServerOptionsSelectionCallback serverOptionsSelectionCallback, object state, TimeSpan handshakeTimeout);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Net.Security.ServerOptionsSelectionCallback * obj * TimeSpan -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, serverOptionsSelectionCallback As ServerOptionsSelectionCallback, state As Object, handshakeTimeout As TimeSpan) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

serverOptionsSelectionCallback
ServerOptionsSelectionCallback

HTTPS オプションを構成するためのコールバック。

state
Object

serverOptionsSelectionCallback状態。

handshakeTimeout
TimeSpan

TLS/SSL ハンドシェイクに許可される最大時間を指定します。 これは正の有限である必要があります。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, StoreName, String, Boolean)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Security::Cryptography::X509Certificates::StoreName storeName, System::String ^ subject, bool allowInvalid);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Security.Cryptography.X509Certificates.StoreName storeName, string subject, bool allowInvalid);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Security.Cryptography.X509Certificates.StoreName * string * bool -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, storeName As StoreName, subject As String, allowInvalid As Boolean) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

storeName
StoreName

証明書の読み込み元の証明書ストア。

subject
String

読み込む証明書のサブジェクト名。

allowInvalid
Boolean

自己署名証明書など、無効な証明書を考慮する必要があるかどうかを示します。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, String, String, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::String ^ fileName, System::String ^ password, Action<Microsoft::AspNetCore::Server::Kestrel::Https::HttpsConnectionAdapterOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string fileName, string password, Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> configureOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string fileName, string? password, Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> configureOptions);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * string * string * Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, fileName As String, password As String, configureOptions As Action(Of HttpsConnectionAdapterOptions)) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

fileName
String

アプリケーション コンテンツ ファイルを含むディレクトリを基準とした証明書ファイルの名前。

password
String

X.509 証明書データにアクセスするために必要なパスワード。

configureOptions
Action<HttpsConnectionAdapterOptions>

を構成 HttpsConnectionAdapterOptionsするアクション。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, StoreName, String, Boolean, StoreLocation)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Security::Cryptography::X509Certificates::StoreName storeName, System::String ^ subject, bool allowInvalid, System::Security::Cryptography::X509Certificates::StoreLocation location);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Security.Cryptography.X509Certificates.StoreName storeName, string subject, bool allowInvalid, System.Security.Cryptography.X509Certificates.StoreLocation location);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Security.Cryptography.X509Certificates.StoreName * string * bool * System.Security.Cryptography.X509Certificates.StoreLocation -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, storeName As StoreName, subject As String, allowInvalid As Boolean, location As StoreLocation) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

storeName
StoreName

証明書の読み込み元の証明書ストア。

subject
String

読み込む証明書のサブジェクト名。

allowInvalid
Boolean

自己署名証明書など、無効な証明書を考慮する必要があるかどうかを示します。

location
StoreLocation

証明書の読み込み元のストアの場所。

戻り値

ListenOptions

適用対象

UseHttps(ListenOptions, StoreName, String, Boolean, StoreLocation, Action<HttpsConnectionAdapterOptions>)

HTTPS を使用するように Kestrel を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseHttps(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::Security::Cryptography::X509Certificates::StoreName storeName, System::String ^ subject, bool allowInvalid, System::Security::Cryptography::X509Certificates::StoreLocation location, Action<Microsoft::AspNetCore::Server::Kestrel::Https::HttpsConnectionAdapterOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseHttps (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, System.Security.Cryptography.X509Certificates.StoreName storeName, string subject, bool allowInvalid, System.Security.Cryptography.X509Certificates.StoreLocation location, Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> configureOptions);
static member UseHttps : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * System.Security.Cryptography.X509Certificates.StoreName * string * bool * System.Security.Cryptography.X509Certificates.StoreLocation * Action<Microsoft.AspNetCore.Server.Kestrel.Https.HttpsConnectionAdapterOptions> -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseHttps (listenOptions As ListenOptions, storeName As StoreName, subject As String, allowInvalid As Boolean, location As StoreLocation, configureOptions As Action(Of HttpsConnectionAdapterOptions)) As ListenOptions

パラメーター

listenOptions
ListenOptions

構成する ListenOptions

storeName
StoreName

証明書の読み込み元の証明書ストア。

subject
String

読み込む証明書のサブジェクト名。

allowInvalid
Boolean

自己署名証明書など、無効な証明書を考慮する必要があるかどうかを示します。

location
StoreLocation

証明書の読み込み元のストアの場所。

configureOptions
Action<HttpsConnectionAdapterOptions>

を構成 HttpsConnectionAdapterOptionsするアクション。

戻り値

ListenOptions

適用対象