mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added agent signature locking support.
This commit is contained in:
parent
a799b9855a
commit
c04666895c
3 changed files with 5 additions and 0 deletions
|
@ -2870,6 +2870,9 @@ function CreateMeshCentralServer(config, args) {
|
|||
var xdomain = (domain.dns == null) ? domain.id : '';
|
||||
if (xdomain != '') xdomain += '/';
|
||||
signUrl += '/' + xdomain;
|
||||
|
||||
// If requested, lock the agent to this server
|
||||
if (obj.config.settings.agentsignlock) { signUrl += '?ServerID=' + obj.certificateOperations.getPublicKeyHash(obj.certificates.agent.cert).toUpperCase(); }
|
||||
}
|
||||
|
||||
// Load agent information file. This includes the data & time of the agent.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue