mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2024-11-16 17:28:59 +00:00 
			
		
		
		
	
		
			
	
	
		
			23 lines
		
	
	
		
			409 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			409 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
|  | # Quick Start for Let's Encrypt with Node.js
 | ||
|  | 
 | ||
|  | ```js | ||
|  | npm install --save greenlock-express | ||
|  | ``` | ||
|  | 
 | ||
|  | Manage via API or the config file: | ||
|  | 
 | ||
|  | `~/.config/greenlock/manage.json`: (default filesystem config) | ||
|  | 
 | ||
|  | ```json | ||
|  | { | ||
|  | 	"subscriberEmail": "letsencrypt-test@therootcompany.com", | ||
|  | 	"agreeToTerms": true, | ||
|  | 	"sites": { | ||
|  | 		"example.com": { | ||
|  | 			"subject": "example.com", | ||
|  | 			"altnames": ["example.com", "www.example.com"] | ||
|  | 		} | ||
|  | 	} | ||
|  | } | ||
|  | ``` |