aspnetcore/samples/AppSettings/appsettings.json

60 lines
1.5 KiB
JSON

{
"Kestrel": {
"EndPoints": {
"Http": {
"Address": "127.0.0.1",
"Port": 8081
},
"HttpV6": {
"Address": "::1",
"Port": 8081
},
// Add testCert.pfx to the current user's certificate store to enable this scenario.
//"HttpsInlineCertStore": {
// "Address": "127.0.0.1",
// "Port": 8082,
// "Certificate": {
// "Source": "Store",
// "Subject": "cn=localhost",
// "StoreName": "My",
// "StoreLocation": "CurrentUser",
// "AllowInvalid": "True"
// }
//},
"HttpsInlineCertFile": {
"Address": "127.0.0.1",
"Port": 8083,
"Certificate": {
"Source": "File",
"Path": "testCert.pfx",
}
},
// Add testCert.pfx to the current user's certificate store to enable this scenario.
//"HttpsCertStore": {
// "Address": "127.0.0.1",
// "Port": 8084,
// "Certificate": "TestCertInStore"
//},
"HttpsCertFile": {
"Address": "127.0.0.1",
"Port": 8085,
"Certificate": "TestCert"
}
}
},
"Certificates": {
"TestCert": {
"Source": "File",
"Path": "testCert.pfx",
},
// Add testCert.pfx to the current user's certificate store to enable this scenario.
//"TestCertInStore": {
// "Source": "Store",
// "Subject": "cn=localhost",
// "StoreName": "My",
// "StoreLocation": "CurrentUser",
// "AllowInvalid": "True"
//}
}
}