From a62648bac917a94e3ee808d29cfdfab9fcc0b06f Mon Sep 17 00:00:00 2001 From: rafsanulhasan Date: Sat, 1 Sep 2018 16:30:22 +0600 Subject: [PATCH] Update insecure endpoints to SSL/TLS encrypted HTTPS endpoints --- .../aggregator/appsettings.localhost.json | 2 +- .../Web.Bff.Shopping/aggregator/appsettings.localhost.json | 2 +- src/Services/Basket/Basket.API/appsettings.json | 2 +- src/Services/Identity/Identity.API/appsettings.json | 6 +++--- src/Services/Location/Locations.API/appsettings.json | 2 +- src/Services/Marketing/Marketing.API/appsettings.json | 2 +- src/Services/Ordering/Ordering.API/appsettings.json | 2 +- src/Services/Ordering/Ordering.SignalrHub/appsettings.json | 2 +- src/Web/WebMVC/appsettings.json | 4 ++-- src/Web/WebSPA/appsettings.json | 4 ++-- src/Web/WebStatus/appsettings.json | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/ApiGateways/Mobile.Bff.Shopping/aggregator/appsettings.localhost.json b/src/ApiGateways/Mobile.Bff.Shopping/aggregator/appsettings.localhost.json index 57b5e894d..08539a485 100644 --- a/src/ApiGateways/Mobile.Bff.Shopping/aggregator/appsettings.localhost.json +++ b/src/ApiGateways/Mobile.Bff.Shopping/aggregator/appsettings.localhost.json @@ -3,6 +3,6 @@ "basket": "http://localhost:55105", "catalog": "http://localhost:55101", "orders": "http://localhost:55102", - "identity": "http://localhost:55105" + "identity": "https://localhost:54105" } } diff --git a/src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.localhost.json b/src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.localhost.json index 57b5e894d..08539a485 100644 --- a/src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.localhost.json +++ b/src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.localhost.json @@ -3,6 +3,6 @@ "basket": "http://localhost:55105", "catalog": "http://localhost:55101", "orders": "http://localhost:55102", - "identity": "http://localhost:55105" + "identity": "https://localhost:54105" } } diff --git a/src/Services/Basket/Basket.API/appsettings.json b/src/Services/Basket/Basket.API/appsettings.json index 4bff4d70d..70970cabd 100644 --- a/src/Services/Basket/Basket.API/appsettings.json +++ b/src/Services/Basket/Basket.API/appsettings.json @@ -7,7 +7,7 @@ "Microsoft": "Information" } }, - "IdentityUrl": "http://localhost:5105", + "IdentityUrl": "https://localhost:4105", "ConnectionString": "127.0.0.1", "AzureServiceBusEnabled": false, "SubscriptionClientName": "Basket", diff --git a/src/Services/Identity/Identity.API/appsettings.json b/src/Services/Identity/Identity.API/appsettings.json index c5a109218..0c8284ea3 100644 --- a/src/Services/Identity/Identity.API/appsettings.json +++ b/src/Services/Identity/Identity.API/appsettings.json @@ -1,9 +1,9 @@ { "ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word;", "IsClusterEnv": "False", - "MvcClient": "http://localhost:5100", - "SpaClient": "http://localhost:5104", - "XamarinCallback": "http://localhost:5105/xamarincallback", + "MvcClient": "https://localhost:4100", + "SpaClient": "https://localhost:4104", + "XamarinCallback": "https://localhost:4105/xamarincallback", "UseCustomizationData": false, "Logging": { "IncludeScopes": false, diff --git a/src/Services/Location/Locations.API/appsettings.json b/src/Services/Location/Locations.API/appsettings.json index cd4166bb0..603322578 100644 --- a/src/Services/Location/Locations.API/appsettings.json +++ b/src/Services/Location/Locations.API/appsettings.json @@ -1,7 +1,7 @@ { "ConnectionString": "mongodb://nosql.data", "Database": "LocationsDb", - "IdentityUrl": "http://localhost:5105", + "IdentityUrl": "https://localhost:4105", "Logging": { "IncludeScopes": false, "LogLevel": { diff --git a/src/Services/Marketing/Marketing.API/appsettings.json b/src/Services/Marketing/Marketing.API/appsettings.json index 2af660446..ece52a754 100644 --- a/src/Services/Marketing/Marketing.API/appsettings.json +++ b/src/Services/Marketing/Marketing.API/appsettings.json @@ -8,7 +8,7 @@ "ConnectionString": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word", "MongoConnectionString": "mongodb://nosql.data", "MongoDatabase": "MarketingDb", - "IdentityUrl": "http://localhost:5105", + "IdentityUrl": "https://localhost:4105", "PicBaseUrl": "http://localhost:5110/api/v1/campaigns/[0]/pic/", "AzureServiceBusEnabled": false, "SubscriptionClientName": "Marketing", diff --git a/src/Services/Ordering/Ordering.API/appsettings.json b/src/Services/Ordering/Ordering.API/appsettings.json index 96dd74630..bd80e47cc 100644 --- a/src/Services/Ordering/Ordering.API/appsettings.json +++ b/src/Services/Ordering/Ordering.API/appsettings.json @@ -1,6 +1,6 @@ { "ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;", - "IdentityUrl": "http://localhost:5105", + "IdentityUrl": "https://localhost:4105", "UseCustomizationData": false, "Logging": { "IncludeScopes": false, diff --git a/src/Services/Ordering/Ordering.SignalrHub/appsettings.json b/src/Services/Ordering/Ordering.SignalrHub/appsettings.json index ab02fda0f..8bf78a9d0 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/appsettings.json +++ b/src/Services/Ordering/Ordering.SignalrHub/appsettings.json @@ -1,5 +1,5 @@ { - "IdentityUrl": "http://localhost:5105", + "IdentityUrl": "https://localhost:4105", "Logging": { "IncludeScopes": false, "LogLevel": { diff --git a/src/Web/WebMVC/appsettings.json b/src/Web/WebMVC/appsettings.json index 161e247a6..922e65ff3 100644 --- a/src/Web/WebMVC/appsettings.json +++ b/src/Web/WebMVC/appsettings.json @@ -3,8 +3,8 @@ "OrderingUrl": "http://localhost:5102", "BasketUrl": "http://localhost:5103", "MarketingUrl": "http://localhost:5110", - "IdentityUrl": "http://localhost:5105", - "CallBackUrl": "http://localhost:5100/", + "IdentityUrl": "https://localhost:4105", + "CallBackUrl": "https://localhost:4100/", "LocationsUrl": "http://localhost:5109/", "IsClusterEnv": "False", "UseResilientHttp": "True", diff --git a/src/Web/WebSPA/appsettings.json b/src/Web/WebSPA/appsettings.json index 75f17ac35..c75b8b280 100644 --- a/src/Web/WebSPA/appsettings.json +++ b/src/Web/WebSPA/appsettings.json @@ -1,7 +1,7 @@ { - "IdentityUrl": "http://localhost:5105", + "IdentityUrl": "https://localhost:4105", "MarketingUrl": "http://localhost:5110", - "CallBackUrl": "http://localhost:5104/", + "CallBackUrl": "https://localhost:4104/", "PurchaseUrl": "http://localhost:5200", "UseCustomizationData": true, "IsClusterEnv": "False", diff --git a/src/Web/WebStatus/appsettings.json b/src/Web/WebStatus/appsettings.json index 2ab5ad818..1e04ced4e 100644 --- a/src/Web/WebStatus/appsettings.json +++ b/src/Web/WebStatus/appsettings.json @@ -11,7 +11,7 @@ "OrderingBackgroundTasksUrl": "http://localhost:5111/hc", "BasketUrl": "http://localhost:5103/hc", "CatalogUrl": "http://localhost:5101/hc", - "IdentityUrl": "http://localhost:5105/hc", + "IdentityUrl": "https://localhost:4105/hc", "MarketingUrl": "http://localhost:5110/hc", "LocationsUrl": "http://localhost:5109/hc", "PaymentUrl": "http://localhost:5108/hc",