64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"Kestrel": {
|
|
"EndPoints": {
|
|
"Http": {
|
|
"Address": "127.0.0.1",
|
|
"Port": 5000
|
|
},
|
|
|
|
// To enable HTTPS using a certificate file, set the path to a .pfx file in
|
|
// the "Path" property below and configure the password in user secrets.
|
|
// The "Password" property should be set in user secrets.
|
|
//"HttpsInlineCertFile": {
|
|
// "Address": "127.0.0.1",
|
|
// "Port": 5001,
|
|
// "Certificate": {
|
|
// "Source": "File",
|
|
// "Path": "<path to .pfx file>"
|
|
// }
|
|
//},
|
|
|
|
//"HttpsInlineCertStore": {
|
|
// "Address": "127.0.0.1",
|
|
// "Port": 5002,
|
|
// "Certificate": {
|
|
// "Source": "Store",
|
|
// "Subject": "",
|
|
// "StoreName": "",
|
|
// "StoreLocation": "",
|
|
// "AllowInvalid": "" // Set to "true" to allow invalid certificates (e.g. expired)
|
|
// }
|
|
//},
|
|
|
|
// To enable this endpoint, set the path to a .pfx file in the "Path" property
|
|
// of the "TestCert" certificate defined under the "Certificates" section.
|
|
// Configure the password in user secrets.
|
|
//"HttpsCertFile": {
|
|
// "Address": "127.0.0.1",
|
|
// "Port": 5003,
|
|
// "Certificate": "TestCert"
|
|
//}
|
|
|
|
//"HttpsCertStore": {
|
|
// "Address": "127.0.0.1",
|
|
// "Port": 5004,
|
|
// "Certificate": "TestCertInStore"
|
|
//},
|
|
}
|
|
},
|
|
"Certificates": {
|
|
//"TestCert": {
|
|
// "Source": "File",
|
|
// "Path": ""
|
|
//},
|
|
|
|
//"TestCertInStore": {
|
|
// "Source": "Store",
|
|
// "Subject": "",
|
|
// "StoreName": "",
|
|
// "StoreLocation": "",
|
|
// "AllowInvalid": "" // Set to "true" to allow invalid certificates (e.g. expired certificates)
|
|
//}
|
|
}
|
|
}
|