mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Added option to not use TLS with connection to Intel AMT, usage is not recommanded.
This commit is contained in:
		
							parent
							
								
									4dcf4857c4
								
							
						
					
					
						commit
						b9b334e8a2
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -533,7 +533,7 @@ module.exports.CreateAmtManager = function (parent) { | |||
| 
 | ||||
|                 // Connect now
 | ||||
|                 var comm; | ||||
|                 if (dev.tlsfail !== true) { | ||||
|                 if ((dev.tlsfail !== true) && (parent.config.domains[dev.domainid].amtmanager.tlsconnections !== false)) { | ||||
|                     parent.debug('amt', dev.name, (dev.connType == 1) ? 'Relay-Connect' : 'LMS-Connect', "TLS", user); | ||||
|                     comm = CreateWsmanComm(dev.nodeid, 16993, user, pass, 1, null, ciraconn); // Perform TLS
 | ||||
|                     comm.xtlsFingerprint = 0; // Perform no certificate checking
 | ||||
|  | @ -565,7 +565,7 @@ module.exports.CreateAmtManager = function (parent) { | |||
| 
 | ||||
|                     // Connect now
 | ||||
|                     var comm; | ||||
|                     if (dev.tlsfail !== true) { | ||||
|                     if ((dev.tlsfail !== true) && (parent.config.domains[dev.domainid].amtmanager.tlsconnections !== false)) { | ||||
|                         parent.debug('amt', dev.name, 'Direct-Connect', "TLS", dev.host, user); | ||||
|                         comm = CreateWsmanComm(dev.host, 16993, user, pass, 1); // Always try with TLS first
 | ||||
|                         comm.xtlsFingerprint = 0; // Perform no certificate checking
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue