This commit is contained in:
AJ ONeal 2018-07-07 15:37:26 -06:00
parent b9aed7cdc9
commit ff6cbf5064
1 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,7 @@ Features
- [x] Automatical renewal (10 to 14 days before expiration) - [x] Automatical renewal (10 to 14 days before expiration)
- [x] Great ACME support via [acme.js](https://git.coolaj86.com/coolaj86/acme-v2.js) - [x] Great ACME support via [acme.js](https://git.coolaj86.com/coolaj86/acme-v2.js)
- [x] "dry run" with self-diagnostics - [x] "dry run" with self-diagnostics
- [x] ACME draft 11 - [x] ACME draft 12
- [x] Let's Encrypt v2 - [x] Let's Encrypt v2
- [x] Let's Encrypt v1 - [x] Let's Encrypt v1
- [x] [Commandline](https://git.coolaj86.com/coolaj86/greenlock-cli.js) (cli) Utilities - [x] [Commandline](https://git.coolaj86.com/coolaj86/greenlock-cli.js) (cli) Utilities
@ -144,7 +144,7 @@ var greenlock = Greenlock.create({
, approveDomains: [ 'example.com' ] , approveDomains: [ 'example.com' ]
, communityMember: false // Optionally get important updates (security, api changes, etc) , communityMember: false // Optionally get important updates (security, api changes, etc)
// and submit stats to help make Greenlock better // and submit stats to help make Greenlock better
, version: 'draft-11' , version: 'draft-12'
, server: 'https://acme-v02.api.letsencrypt.org/directory' , server: 'https://acme-v02.api.letsencrypt.org/directory'
, configDir: path.join(os.homedir(), 'acme/etc') , configDir: path.join(os.homedir(), 'acme/etc')
}); });
@ -183,7 +183,7 @@ var os = require('os')
var Greenlock = require('greenlock'); var Greenlock = require('greenlock');
var greenlock = Greenlock.create({ var greenlock = Greenlock.create({
version: 'draft-11' version: 'draft-12'
, server: 'https://acme-v02.api.letsencrypt.org/directory' , server: 'https://acme-v02.api.letsencrypt.org/directory'
// approve a growing list of domains // approve a growing list of domains
@ -270,7 +270,7 @@ var opts = {
//////////////////// ////////////////////
var greenlock = require('greenlock').create({ var greenlock = require('greenlock').create({
version: 'draft-11' version: 'draft-12'
, server: 'https://acme-v02.api.letsencrypt.org/directory' , server: 'https://acme-v02.api.letsencrypt.org/directory'
, configDir: '/tmp/acme/etc' , configDir: '/tmp/acme/etc'
}); });
@ -333,9 +333,9 @@ function leAgree(opts, agreeCb) {
} }
greenlock = Greenlock.create({ greenlock = Greenlock.create({
version: 'draft-11' // 'draft-11' or 'v01' version: 'draft-12' // 'draft-12' or 'v01'
// 'draft-11' is for Let's Encrypt v2 otherwise known as ACME draft 11 // 'draft-12' is for Let's Encrypt v2 otherwise known as ACME draft 12
// 'v02' is an alias for 'draft-11' // 'v02' is an alias for 'draft-12'
// 'v01' is for the pre-spec Let's Encrypt v1 // 'v01' is for the pre-spec Let's Encrypt v1
// //
// staging API // staging API