mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Let's Encrypt Skip Challenge Verification added to server console LE command, #3296
This commit is contained in:
		
							parent
							
								
									5d276c9c00
								
							
						
					
					
						commit
						a2ce9b8573
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -227,7 +227,8 @@ module.exports.CreateLetsEncrypt = function (parent) {
 | 
			
		|||
            challenges: obj.challenges,
 | 
			
		||||
            production: obj.runAsProduction,
 | 
			
		||||
            webServer: obj.redirWebServerHooked,
 | 
			
		||||
            certPath: obj.certPath
 | 
			
		||||
            certPath: obj.certPath,
 | 
			
		||||
            skipChallengeVerification: (obj.parent.config.letsencrypt.skipchallengeverification == true)
 | 
			
		||||
        };
 | 
			
		||||
        if (obj.configErr) { r.error = "WARNING: " + obj.configErr; }
 | 
			
		||||
        if (obj.certExpire) { r.cert = 'Present'; r.daysLeft = Math.floor((obj.certExpire - new Date()) / 86400000); } else { r.cert = 'None'; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue