fixed check of EnableSelfsignedCertSupport option

This commit is contained in:
UbitUmarov
2024-08-20 04:24:16 +01:00
parent 8eef70ec9c
commit 4a72e92a74
2 changed files with 2 additions and 2 deletions

View File

@@ -355,7 +355,7 @@ namespace OpenSim
// Sure is not the right place for this but do the job...
// Must always be called before (all) / the HTTP servers starting for the Certs creation or renewals.
if(startupConfig.GetBoolean("EnableSelfsignedCertSupport"))
if(startupConfig.GetBoolean("EnableSelfsignedCertSupport", false))
{
if(!File.Exists("SSL\\ssl\\"+ startupConfig.GetString("CertFileName") +".p12") || startupConfig.GetBoolean("CertRenewOnStartup"))
{