Fixed some small certificate issues
This commit is contained in:
@@ -716,8 +716,7 @@ bool InstanceHandler::reloadConfig(std::vector<std::string>& errors, bool reload
|
||||
string error;
|
||||
#ifdef COMPILE_WEB_CLIENT
|
||||
if(config::web::activated) {
|
||||
this->sslMgr->unregister_web_contexts();
|
||||
//TODO: Generate default certificate (con-gate.work)
|
||||
this->sslMgr->unregister_web_contexts(false);
|
||||
|
||||
string error;
|
||||
for (auto &certificate : config::web::ssl::certificates) {
|
||||
@@ -862,5 +861,6 @@ void InstanceHandler::loadWebCertificate() {
|
||||
return;
|
||||
}
|
||||
|
||||
this->sslMgr->rename_context(strobf("web_default_new").string(), strobf("web_default").string());
|
||||
this->web_cert_revision = revision;
|
||||
}
|
||||
Reference in New Issue
Block a user