From d0f775065054dd4ca5935ca890e30a359afc15dd Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Thu, 18 Mar 2021 07:21:00 +1000 Subject: [PATCH] Don't use dev licensing cert if self-hosted (#1216) --- src/Core/Services/Implementations/LicensingService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Core/Services/Implementations/LicensingService.cs b/src/Core/Services/Implementations/LicensingService.cs index 06a75fe33..ef29bd55e 100644 --- a/src/Core/Services/Implementations/LicensingService.cs +++ b/src/Core/Services/Implementations/LicensingService.cs @@ -46,7 +46,8 @@ namespace Bit.Core.Services _logger = logger; _globalSettings = globalSettings; - var certThumbprint = environment.IsDevelopment() ? "207E64A231E8AA32AAF68A61037C075EBEBD553F" : + var certThumbprint = environment.IsDevelopment() && !_globalSettings.SelfHosted ? + "207E64A231E8AA32AAF68A61037C075EBEBD553F" : "‎B34876439FCDA2846505B2EFBBA6C4A951313EBE"; if (_globalSettings.SelfHosted) {