Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 19ae7f120c | 
							
								
								
									
										41
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										41
									
								
								README.md
									
									
									
									
									
								
							| @ -1,10 +1,11 @@ | ||||
| # [greenlock-challenge-http](https://git.coolaj86.com/coolaj86/greenlock-challenge-http.js) | ||||
| 
 | ||||
| | A [Root](https://rootprojects.org) Project | | ||||
| # [acme-http-01-cli](https://git.rootprojects.org/root/acme-http-01-cli.js) | a [Root](https://rootprojects.org) project | ||||
| 
 | ||||
| An extremely simple reference implementation | ||||
| of an ACME (Let's Encrypt) http-01 challenge strategy | ||||
| for [Greenlock](https://git.coolaj86.com/coolaj86/greenlock-express.js) v2.7+ (and v3). | ||||
| of an ACME (Let's Encrypt) http-01 challenge strategy. | ||||
| 
 | ||||
| This generic implementation can be adapted to work with any node.js ACME client, | ||||
| although it was built for [Greenlock](https://git.rootprojects.org/root/greenlock-express.js) | ||||
| and [ACME.js](https://git.rootprojects.org/root/acme-v2.js). | ||||
| 
 | ||||
| ``` | ||||
| GET http://example.com/.well-known/acme-challenge/xxxxxxxxxxxxxxxx | ||||
| @ -17,15 +18,15 @@ GET http://example.com/.well-known/acme-challenge/xxxxxxxxxxxxxxxx | ||||
| 
 | ||||
| Other ACME Challenge Reference Implementations: | ||||
| 
 | ||||
| * [greenlock-challenge-manual](https://git.coolaj86.com/coolaj86/greenlock-challenge-manual.js.git) | ||||
| * [**greenlock-challenge-http**](https://git.coolaj86.com/coolaj86/greenlock-challenge-http.js.git) | ||||
| * [greenlock-challenge-dns](https://git.coolaj86.com/coolaj86/greenlock-challenge-dns.js.git) | ||||
| * [acme-http-01-fs](https://git.rootprojects.org/root/acme-http-01-webroot.js.git) | ||||
| * [**acme-http-01-cli**](https://git.rootprojects.org/root/acme-http-01-cli.js.git) | ||||
| * [acme-dns-01-cli](https://git.rootprojects.org/root/acme-dns-01-cli.js.git) | ||||
| 
 | ||||
| Install | ||||
| ------- | ||||
| 
 | ||||
| ```bash | ||||
| npm install --save greenlock-challenge-http@3.x | ||||
| npm install --save acme-http-01-cli@3.x | ||||
| ``` | ||||
| 
 | ||||
| Usage | ||||
| @ -36,9 +37,9 @@ var Greenlock = require('greenlock'); | ||||
| 
 | ||||
| Greenlock.create({ | ||||
|   ... | ||||
| , challenges: { 'http-01': require('greenlock-challenge-http').create({ debug: true }) | ||||
|               , 'dns-01': require('greenlock-challenge-dns') | ||||
|               , 'tls-alpn-01': require('greenlock-challenge-manual') | ||||
| , challenges: { 'http-01': require('acme-http-01-cli').create({ debug: true }) | ||||
|               , 'dns-01': require('acme-dns-01-cli') | ||||
|               , 'tls-alpn-01': require('acme-tls-alpn-01-cli') | ||||
|               } | ||||
|   ... | ||||
| }); | ||||
| @ -91,3 +92,19 @@ it's not always implemented and the options are much more limited in scope: | ||||
|   } | ||||
| } | ||||
| ``` | ||||
| 
 | ||||
| # Legal & Rules of the Road | ||||
| 
 | ||||
| Greenlock™ and Bluecrypt™ are [trademarks](https://rootprojects.org/legal/#trademark) of AJ ONeal | ||||
| 
 | ||||
| The rule of thumb is "attribute, but don't confuse". For example: | ||||
| 
 | ||||
| > Built with [Greenlock](https://git.rootprojects.org/root/greenlock.js) (a [Root](https://rootprojects.org) project). | ||||
| 
 | ||||
| Please [contact us](mailto:aj@therootcompany.com) if you have any questions in regards to our trademark, | ||||
| attribution, and/or visible source policies. We want to build great software and a great community. | ||||
| 
 | ||||
| [Greenlock™](https://git.rootprojects.org/root/greenlock.js) | | ||||
| MPL-2.0 | | ||||
| [Terms of Use](https://therootcompany.com/legal/#terms) | | ||||
| [Privacy Policy](https://therootcompany.com/legal/#privacy) | ||||
|  | ||||
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							| @ -1,15 +1,15 @@ | ||||
| { | ||||
|   "name": "greenlock-challenge-http", | ||||
|   "version": "3.0.1", | ||||
|   "name": "acme-http-01-cli", | ||||
|   "version": "3.0.2", | ||||
|   "description": "A very simple reference implementation of an ACME http-01 challenge for Greenlock v2.7+ (and v3)", | ||||
|   "main": "index.js", | ||||
|   "homepage": "https://git.coolaj86.com/coolaj86/greenlock-challenge-http.js", | ||||
|   "homepage": "https://greenlock.domains/", | ||||
|   "scripts": { | ||||
|     "test": "node test.js" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|     "url": "https://git.coolaj86.com/coolaj86/greenlock-challenge-http.js.git" | ||||
|     "url": "https://git.rootprojects.org/root/acme-http-01-cli.js.git" | ||||
|   }, | ||||
|   "keywords": [ | ||||
|     "Let's Encrypt", | ||||
| @ -20,9 +20,9 @@ | ||||
|     "cli", | ||||
|     "commandline" | ||||
|   ], | ||||
|   "author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)", | ||||
|   "author": "AJ ONeal <solderjs@gmail.com> (https://solderjs.com/)", | ||||
|   "license": "MPL-2.0", | ||||
|   "bugs": { | ||||
|     "url": "https://git.coolaj86.com/coolaj86/greenlock-challenge-http.js/issues" | ||||
|     "url": "https://git.rootprojects.org/root/acme-http-01-cli.js/issues" | ||||
|   } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user