mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 06:35:54 -05:00
Fixed sample config.json file.
This commit is contained in:
parent
23973cd8ce
commit
518d4d1017
@ -112,8 +112,6 @@ module.exports.CertificateOperations = function (parent) {
|
|||||||
|
|
||||||
// Create a self-signed certificate
|
// Create a self-signed certificate
|
||||||
obj.GenerateRootCertificate = function (addThumbPrintToName, commonName, country, organization, strong) {
|
obj.GenerateRootCertificate = function (addThumbPrintToName, commonName, country, organization, strong) {
|
||||||
// TODO: Use Async key generation to use web workers and go a lot faster.
|
|
||||||
// rsa.generateKeyPair({ bits: 3072, e: 0x10001, workers: -1 }, function (err, keypair) { /*keypair.privateKey, keypair.publicKey*/ });
|
|
||||||
var keys = obj.pki.rsa.generateKeyPair({ bits: (strong == true) ? 3072 : 2048, e: 0x10001 });
|
var keys = obj.pki.rsa.generateKeyPair({ bits: (strong == true) ? 3072 : 2048, e: 0x10001 });
|
||||||
var cert = obj.pki.createCertificate();
|
var cert = obj.pki.createCertificate();
|
||||||
cert.publicKey = keys.publicKey;
|
cert.publicKey = keys.publicKey;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.2.7-x",
|
"version": "0.2.7-y",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
"MaxUserSessions": 100,
|
"MaxUserSessions": 100,
|
||||||
"MaxAgentSessions": 100
|
"MaxAgentSessions": 100
|
||||||
},
|
},
|
||||||
"_yubikey": { "id": "0000", "secret": "xxxxxxxxxxxxxxxxxxxxx", "_proxy": "http://myproxy.domain.com:80" },
|
"_yubikey": { "id": "0000", "secret": "xxxxxxxxxxxxxxxxxxxxx", "_proxy": "http://myproxy.domain.com:80" }
|
||||||
},
|
},
|
||||||
"customer1": {
|
"customer1": {
|
||||||
"DNS": "customer1.myserver.com",
|
"DNS": "customer1.myserver.com",
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1597,8 +1597,8 @@
|
|||||||
r += '<div><div colspan=3 class=DevSt><span style=float:right>';
|
r += '<div><div colspan=3 class=DevSt><span style=float:right>';
|
||||||
//r += getMeshActions(mesh, meshrights);
|
//r += getMeshActions(mesh, meshrights);
|
||||||
r += '</span><span id=MxMESH style=cursor:pointer onclick=goForward("' + mesh._id + '")>' + EscapeHtml(mesh.name) + '</span></div>';
|
r += '</span><span id=MxMESH style=cursor:pointer onclick=goForward("' + mesh._id + '")>' + EscapeHtml(mesh.name) + '</span></div>';
|
||||||
if (mesh.mtype == 1) { r += '<div style=padding:10px><i>No Intel® AMT devices in this mesh'; }
|
if (mesh.mtype == 1) { r += '<div style=padding:10px><i>No Intel® AMT devices in this group'; }
|
||||||
if (mesh.mtype == 2) { r += '<div style=padding:10px><i>No devices in this mesh'; }
|
if (mesh.mtype == 2) { r += '<div style=padding:10px><i>No devices in this group'; }
|
||||||
r += '.</i></div></div>';
|
r += '.</i></div></div>';
|
||||||
current = mesh._id;
|
current = mesh._id;
|
||||||
count++;
|
count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user