From 786b3c9542af97e86accf6b7b9d342cc5875e91f Mon Sep 17 00:00:00 2001 From: rafsanulhasan Date: Sat, 1 Sep 2018 17:00:33 +0600 Subject: [PATCH] Configured SSL certificate settings for Kestrel --- .../Identity/Identity.API/appsettings.json | 55 +++++++++-------- src/Web/WebMVC/appsettings.json | 59 +++++++++++-------- src/Web/WebSPA/appsettings.json | 45 ++++++++------ 3 files changed, 93 insertions(+), 66 deletions(-) diff --git a/src/Services/Identity/Identity.API/appsettings.json b/src/Services/Identity/Identity.API/appsettings.json index 0c8284ea3..40cf02804 100644 --- a/src/Services/Identity/Identity.API/appsettings.json +++ b/src/Services/Identity/Identity.API/appsettings.json @@ -1,25 +1,34 @@ { - "ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word;", - "IsClusterEnv": "False", - "MvcClient": "https://localhost:4100", - "SpaClient": "https://localhost:4104", - "XamarinCallback": "https://localhost:4105/xamarincallback", - "UseCustomizationData": false, - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Trace", - "System": "Information", - "Microsoft": "Information" - } - }, - "ApplicationInsights": { - "InstrumentationKey": "" - }, - "UseVault": false, - "Vault": { - "Name": "eshop", - "ClientId": "your-clien-id", - "ClientSecret": "your-client-secret" - } + "ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word;", + "IsClusterEnv": "False", + "MvcClient": "https://localhost:4100", + "SpaClient": "https://localhost:4104", + "XamarinCallback": "https://localhost:4105/xamarincallback", + "UseCustomizationData": false, + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Trace", + "System": "Information", + "Microsoft": "Information" + } + }, + "ApplicationInsights": { + "InstrumentationKey": "" + }, + "UseVault": false, + "Vault": { + "Name": "eshop", + "ClientId": "your-clien-id", + "ClientSecret": "your-client-secret" + }, + "Kestrel": { + "Certificates": { + "Default": { + "Path": "./Certificates/eShopOnContainers.pfx", + "Password": "D0tNet@" + } + } + } + } diff --git a/src/Web/WebMVC/appsettings.json b/src/Web/WebMVC/appsettings.json index 922e65ff3..05a1f35c3 100644 --- a/src/Web/WebMVC/appsettings.json +++ b/src/Web/WebMVC/appsettings.json @@ -1,27 +1,36 @@ { - "CatalogUrl": "http://localhost:5101", - "OrderingUrl": "http://localhost:5102", - "BasketUrl": "http://localhost:5103", - "MarketingUrl": "http://localhost:5110", - "IdentityUrl": "https://localhost:4105", - "CallBackUrl": "https://localhost:4100/", - "LocationsUrl": "http://localhost:5109/", - "IsClusterEnv": "False", - "UseResilientHttp": "True", - "UseLoadTest": false, - "ActivateCampaignDetailFunction": "False", - "UseCustomizationData": false, - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Trace", - "System": "Information", - "Microsoft": "Information" - } - }, - "ApplicationInsights": { - "InstrumentationKey": "" - }, - "HttpClientRetryCount": 8, - "HttpClientExceptionsAllowedBeforeBreaking": 7 + "CatalogUrl": "http://localhost:5101", + "OrderingUrl": "http://localhost:5102", + "BasketUrl": "http://localhost:5103", + "MarketingUrl": "http://localhost:5110", + "IdentityUrl": "https://localhost:4105", + "CallBackUrl": "https://localhost:4100/", + "LocationsUrl": "http://localhost:5109/", + "IsClusterEnv": "False", + "UseResilientHttp": "True", + "UseLoadTest": false, + "ActivateCampaignDetailFunction": "False", + "UseCustomizationData": false, + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Trace", + "System": "Information", + "Microsoft": "Information" + } + }, + "ApplicationInsights": { + "InstrumentationKey": "" + }, + "HttpClientRetryCount": 8, + "HttpClientExceptionsAllowedBeforeBreaking": 7, + "Kestrel": { + "Certificates": { + "Default": { + "Path": "./Certificates/eShopOnContainers.pfx", + "Password": "D0tNet@" + } + } + } + } \ No newline at end of file diff --git a/src/Web/WebSPA/appsettings.json b/src/Web/WebSPA/appsettings.json index c75b8b280..d843edeec 100644 --- a/src/Web/WebSPA/appsettings.json +++ b/src/Web/WebSPA/appsettings.json @@ -1,20 +1,29 @@ { - "IdentityUrl": "https://localhost:4105", - "MarketingUrl": "http://localhost:5110", - "CallBackUrl": "https://localhost:4104/", - "PurchaseUrl": "http://localhost:5200", - "UseCustomizationData": true, - "IsClusterEnv": "False", - "ActivateCampaignDetailFunction": true, - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } - }, - "ApplicationInsights": { - "InstrumentationKey": "" - } + "IdentityUrl": "https://localhost:4105", + "MarketingUrl": "http://localhost:5110", + "CallBackUrl": "https://localhost:4104/", + "PurchaseUrl": "http://localhost:5200", + "UseCustomizationData": true, + "IsClusterEnv": "False", + "ActivateCampaignDetailFunction": true, + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } + }, + "ApplicationInsights": { + "InstrumentationKey": "" + }, + "Kestrel": { + "Certificates": { + "Default": { + "Path": "./Certificates/eShopOnContainers.pfx", + "Password": "D0tNet@" + } + } + } + } \ No newline at end of file