Hosting BI Point Using .NET Core Kestrel

To expose BI Point externally using Kestrel, you need to add the following entries to config.json:

 "Kestrel": {
"EndPoints": {
"Http": {
"Url": "http://0.0.0.0:82"
},
"Https": {
"Url": "https://0.0.0.0:443",
"Certificate": {
"Subject": "name",
"Store": "WebHosting",
"Location": "LocalMachine"
}
}
}
},

In this case, two endpoints must be configured: one for HTTP and another for HTTPS (port 443). To ensure HTTPS functions correctly, it is necessary to define a certificate that will be used for communication. For Windows systems, the easiest way to locate its path is by using the MMC (Microsoft Management Console) tool. If the certificate is not imported, it should be located in the Trusted Root Certification branch.

Note: After configuring SSL, an application restart is required!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Below is a description of the certificate parameters according to Microsoft documentation:

"Subject": "<subject; required>",

"Store": "<cert store; required>",

"Location":"<location; defaults to CurrentUser>",

For the necessity to use more advanced options, detailed information can be found in the Microsoft documentation  which is located here.

 

Czy ten artykuł był pomocny?