mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-27 14:43:14 -05:00
Fixed reverse proxy cert load for sub-domains with no DNS setting.
This commit is contained in:
parent
6644fe2e60
commit
565b549ff6
@ -863,7 +863,7 @@ function CreateMeshCentralServer(config, args) {
|
|||||||
// Load web certs
|
// Load web certs
|
||||||
webCertLoadCount++;
|
webCertLoadCount++;
|
||||||
var dnsname = obj.config.domains[i].dns;
|
var dnsname = obj.config.domains[i].dns;
|
||||||
if ((dnsname == null) && (i == '') && (obj.config.settings.cert != null)) { dnsname = obj.config.settings.cert; }
|
if ((dnsname == null) && (obj.config.settings.cert != null)) { dnsname = obj.config.settings.cert; }
|
||||||
obj.certificateOperations.loadCertificate(obj.config.domains[i].certurl, dnsname, obj.config.domains[i], function (url, cert, xhostname, xdomain) {
|
obj.certificateOperations.loadCertificate(obj.config.domains[i].certurl, dnsname, obj.config.domains[i], function (url, cert, xhostname, xdomain) {
|
||||||
if (cert != null) {
|
if (cert != null) {
|
||||||
// Hash the entire cert
|
// Hash the entire cert
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.4.3-l",
|
"version": "0.4.3-m",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user