mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
fixed check of EnableSelfsignedCertSupport option
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace OpenSim.Server.Base
|
||||
|
||||
prompt = startupConfig.GetString("Prompt", prompt);
|
||||
|
||||
if(startupConfig.GetBoolean("EnableRobustSelfsignedCertSupport"))
|
||||
if(startupConfig.GetBoolean("EnableRobustSelfsignedCertSupport", false))
|
||||
{
|
||||
if(!File.Exists("SSL\\ssl\\"+ startupConfig.GetString("RobustCertFileName") +".p12") || startupConfig.GetBoolean("RobustCertRenewOnStartup"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user