Fixed reverse proxy cert load for sub-domains with no DNS setting.
Ylian Saint-Hilaire committed
Oct 29, 2019 at 11:14 UTC
565b549ff695d987477c3f4e499000ee1e1dd216
2 files changed
+2
-2
meshcentral.js
+1
-1
@@ -863,7 +863,7 @@ function CreateMeshCentralServer(config, args) {
863
// Load web certs
864
webCertLoadCount++;
865
var dnsname = obj.config.domains[i].dns;
866
- if ((dnsname == null) && (i == '') && (obj.config.settings.cert != null)) { dnsname = obj.config.settings.cert; }
866
+ if ((dnsname == null) && (obj.config.settings.cert != null)) { dnsname = obj.config.settings.cert; }
867
obj.certificateOperations.loadCertificate(obj.config.domains[i].certurl, dnsname, obj.config.domains[i], function (url, cert, xhostname, xdomain) {
868
if (cert != null) {
869
// Hash the entire cert
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.4.3-l",
3
+ "version": "0.4.3-m",
4
"keywords": [
5
"Remote Management",
6
"Intel AMT",