1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 05:28:15 -05:00

dev licensing cert

This commit is contained in:
Kyle Spearrin 2018-07-19 00:02:21 -04:00
parent a66af41d2b
commit 0e7ceed68f

View File

@ -39,7 +39,8 @@ namespace Bit.Core.Services
_organizationUserRepository = organizationUserRepository;
_logger = logger;
var certThumbprint = "B34876439FCDA2846505B2EFBBA6C4A951313EBE";
var certThumbprint = environment.IsDevelopment() ? "207E64A231E8AA32AAF68A61037C075EBEBD553F" :
"B34876439FCDA2846505B2EFBBA6C4A951313EBE";
_globalSettings = globalSettings;
_certificate = !_globalSettings.SelfHosted ? CoreHelpers.GetCertificate(certThumbprint)
: CoreHelpers.GetEmbeddedCertificate("licensing.cer", null);