Whats New?
SSL Endpoint configuration supported through appsettings.json or command line arguments
appsettings.json
//
//Windows example
//
{
"HttpServer": {
"Endpoints": {
"Http": {
"Host": "localhost",
"Port": 5101,
"Scheme": "http"
},
"Https": {
"Host": "stakeyourada.com",
"Port": 5102,
"Scheme": "https",
"StoreName": "My",
"StoreLocation": "LocalMachine"
}
}
}
}
//
//Linux and Mac OS example
//
{
"HttpServer": {
"Endpoints": {
"Http": {
"Host": "localhost",
"Port": 5101,
"Scheme": "http"
},
"Https": {
"Host": "stakeyourada.com",
"Port": 5102,
"Scheme": "https",
"FilePath": "/path/to/certificate.pfx"
}
}
}
}
Command line arguments
--server.urls "https://*:5102" --cert-subject "stakeyourada.com"
or
--server.urls "https://*:5102" --cert-path "/path/to/certificate.pfx" --cert-password "someAwesomeP@ssw0rd1"