ListenOptionsHttpsExtensions.UseHttps 메서드

정의

오버로드

UseHttps(ListenOptions)

사용 가능한 경우 기본 인증서와 함께 HTTPS를 사용하도록 Kestrel을 구성합니다. 기본 인증서가 구성되지 않은 경우 throw됩니다.

UseHttps(ListenOptions, HttpsConnectionAdapterOptions)

HTTPS를 사용하려면 Kestrel을 구성합니다. 이는 구성 또는 ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions>)을 통해 지정된 기본 인증서 또는 기타 기본값을 사용하지 않습니다.

UseHttps(ListenOptions, TlsHandshakeCallbackOptions)

HTTPS를 사용하려면 Kestrel을 구성합니다. 이는 구성 또는 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을 구성합니다. 이는 구성 또는 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을 구성합니다. 이는 구성 또는 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을 구성합니다. 기본 인증서가 구성되지 않은 경우 throw됩니다.

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을 구성합니다. 이는 구성 또는 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을 구성합니다. 이는 구성 또는 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을 구성합니다. 이는 구성 또는 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을 구성합니다. 이는 구성 또는 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

적용 대상