roster-server 2.2.10 → 2.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/package.json +12 -3
  2. package/tasks/lessons.md +1 -0
  3. package/vendor/greenlock/.prettierrc +8 -0
  4. package/vendor/greenlock/LICENSE +312 -0
  5. package/vendor/greenlock/MIGRATION_GUIDE.md +403 -0
  6. package/vendor/greenlock/README.md +667 -0
  7. package/vendor/greenlock/accounts.js +218 -0
  8. package/vendor/greenlock/bin/add.js +72 -0
  9. package/vendor/greenlock/bin/certonly.js +368 -0
  10. package/vendor/greenlock/bin/config.js +77 -0
  11. package/vendor/greenlock/bin/defaults.js +58 -0
  12. package/vendor/greenlock/bin/greenlock.js +26 -0
  13. package/vendor/greenlock/bin/init.js +159 -0
  14. package/vendor/greenlock/bin/lib/cli.js +230 -0
  15. package/vendor/greenlock/bin/lib/flags.js +385 -0
  16. package/vendor/greenlock/bin/remove.js +46 -0
  17. package/vendor/greenlock/bin/tmpl/app.tmpl.js +9 -0
  18. package/vendor/greenlock/bin/tmpl/cluster.tmpl.js +30 -0
  19. package/vendor/greenlock/bin/tmpl/greenlock.tmpl.js +13 -0
  20. package/vendor/greenlock/bin/tmpl/server.tmpl.js +20 -0
  21. package/vendor/greenlock/bin/update.js +62 -0
  22. package/vendor/greenlock/certificates.js +324 -0
  23. package/vendor/greenlock/errors.js +58 -0
  24. package/vendor/greenlock/greenlock.js +621 -0
  25. package/vendor/greenlock/greenlockrc.js +169 -0
  26. package/vendor/greenlock/lib/challenges-wrapper.js +88 -0
  27. package/vendor/greenlock/lib/directory-url.js +44 -0
  28. package/vendor/greenlock/lib/init.js +191 -0
  29. package/vendor/greenlock/lib/manager-wrapper.js +625 -0
  30. package/vendor/greenlock/lib/rc.js +70 -0
  31. package/vendor/greenlock/logo/beaker-browser-301x112.png +0 -0
  32. package/vendor/greenlock/logo/from-not-secure-to-secure-url-bar.png +0 -0
  33. package/vendor/greenlock/logo/greenlock-1063x250.png +0 -0
  34. package/vendor/greenlock/logo/greenlock-850x200.png +0 -0
  35. package/vendor/greenlock/logo/ibm-301x112.png +0 -0
  36. package/vendor/greenlock/logo/telebit-301x112.png +0 -0
  37. package/vendor/greenlock/order.js +63 -0
  38. package/vendor/greenlock/package-lock.json +140 -0
  39. package/vendor/greenlock/package.json +56 -0
  40. package/vendor/greenlock/plugins.js +270 -0
  41. package/vendor/greenlock/tests/cli.sh +31 -0
  42. package/vendor/greenlock/tests/index.js +53 -0
  43. package/vendor/greenlock/user-events.js +7 -0
  44. package/vendor/greenlock/utils.js +281 -0
  45. package/vendor/greenlock-express/greenlock-shim.js +3 -1
  46. package/vendor/greenlock-express/package.json +0 -1
@@ -0,0 +1,667 @@
1
+ # New Documentation & [v4 Migration Guide](https://git.rootprojects.org/root/greenlock.js/src/branch/master/MIGRATION_GUIDE.md)
2
+
3
+ We're still working on the full documentation for this new version,
4
+ so please be patient.
5
+
6
+ To start, check out the
7
+ [Migration Guide](https://git.rootprojects.org/root/greenlock.js/src/branch/master/MIGRATION_GUIDE.md).
8
+
9
+ !["Greenlock Logo"](https://git.rootprojects.org/root/greenlock.js/raw/branch/master/logo/greenlock-1063x250.png 'Greenlock lock logo and work mark')
10
+
11
+ !["Greenlock Function"](https://git.rootprojects.org/root/greenlock.js/raw/branch/master/logo/from-not-secure-to-secure-url-bar.png 'from url bar showing not secure to url bar showing secure')
12
+
13
+ # [Greenlock](https://git.rootprojects.org/root/greenlock.js) is Let's Encrypt for JavaScript
14
+
15
+ | Built by [Root](https://rootprojects.org) for [Hub](https://rootprojects.org/hub/)
16
+
17
+ Greenlock™ is an Automated Certificate Management Environement 🔐.
18
+
19
+ | **Greenlock** | [Greenlock Express](https://git.rootprojects.org/root/greenlock-express.js) | [ACME.js](https://git.rootprojects.org/root/acme.js) |
20
+
21
+ It uses **Let's Encrypt** to generate Free SSL Certificates, including **Wildcard** SSL.
22
+ It supports **Automated Renewal** of certs for Fully Automated HTTPS.
23
+
24
+ It's written in plain JavaScript and works in Node, Browsers, and WebPack.
25
+
26
+ the easiest way to integrate Let's Encrypt into your projects, products, and infrastructure.
27
+
28
+ - [x] **Wildcard** Certificates
29
+ - [x] **IoT** Environments
30
+ - [x] **Enterprise** and **On-Prem**
31
+ - [x] **Private** Networks
32
+ - [x] **Localhost** Development
33
+ - [x] **Web Hosting** Providers
34
+ - [x] **Commercial** support
35
+
36
+ We've built it simple enough for Hobbyists, and robust enough for the Enterprise.
37
+
38
+ <!--
39
+ # Localhost Development
40
+
41
+ <details>
42
+ <summary>HTTPS on Localhost</summary>
43
+ TODO
44
+
45
+ </details>
46
+
47
+ # WebServer with Automatic HTTPS
48
+
49
+ <details>
50
+ <summary>Learn more about the Greenlock Web Server</summary>
51
+ TODO
52
+ </details>
53
+
54
+ # Commandline
55
+
56
+ <details>
57
+ <summary>Learn more about the Greenlock CLI</summary>
58
+ TODO
59
+ </details>
60
+
61
+ -->
62
+
63
+ # Quick Start
64
+
65
+ Greenlock is fully-automated, **SSL Certificate Manager** for IoT, Web Hosting, and Enterprise On-Prem, Edge, and Hybrid Cloud.
66
+
67
+ (though we started building it for [Home Servers](https://rootprojects.org/hub/))
68
+
69
+ You can use it for one-off certificates, like `certbot`,
70
+ but it is _much_ more powerful than that.
71
+
72
+ By setting just a few callbacks to let it know where it should store private keys and certificates,
73
+ it will automatically renew any certificate that you add to it, as long as the process is running.
74
+
75
+ Certificates are renewed every 45 days by default, and renewal checks will happen several times a day.
76
+
77
+ <details>
78
+ <summary>1. Configure</summary>
79
+
80
+ ```js
81
+ 'use strict';
82
+
83
+ var pkg = require('./package.json');
84
+ var Greenlock = require('greenlock');
85
+ var greenlock = Greenlock.create({
86
+ packageRoot: __dirname,
87
+ configDir: "./greenlock.d/",
88
+ packageAgent: pkg.name + '/' + pkg.version,
89
+ maintainerEmail: pkg.author,
90
+ staging: true,
91
+ notify: function(event, details) {
92
+ if ('error' === event) {
93
+ // `details` is an error object in this case
94
+ console.error(details);
95
+ }
96
+ }
97
+ });
98
+
99
+ greenlock.manager
100
+ .defaults({
101
+ agreeToTerms: true,
102
+ subscriberEmail: 'webhosting@example.com'
103
+ })
104
+ .then(function(fullConfig) {
105
+ // ...
106
+ });
107
+ ```
108
+
109
+ </details>
110
+
111
+ <details>
112
+ <summary>2. Add Domains</summary>
113
+
114
+ The `subject` (primary domain on certificate) will be the id,
115
+ so it's very important that the order of the given domains
116
+ be deterministic.
117
+
118
+ ```js
119
+ var altnames = ['example.com', 'www.example.com'];
120
+
121
+ greenlock
122
+ .add({
123
+ subject: altnames[0],
124
+ altnames: altnames
125
+ })
126
+ .then(function() {
127
+ // saved config to db (or file system)
128
+ });
129
+ ```
130
+
131
+ Issuance and renewal will start immediately, and run continually.
132
+
133
+ </details>
134
+
135
+ <details>
136
+ <summary>3. Test for Success</summary>
137
+
138
+ The `store` callbacks will be called every any of your certificates
139
+ are renewed.
140
+
141
+ However, you can do a quick one-off check with `get`.
142
+
143
+ It will return a certificate immediately (if available),
144
+ or wait for the renewal to complete (or for it to fail again).
145
+
146
+ ```js
147
+ greenlock
148
+ .get({ servername: subject })
149
+ .then(function(pems) {
150
+ if (pems && pems.privkey && pems.cert && pems.chain) {
151
+ console.info('Success');
152
+ }
153
+ //console.log(pems);
154
+ })
155
+ .catch(function(e) {
156
+ console.error('Big bad error:', e.code);
157
+ console.error(e);
158
+ });
159
+ ```
160
+
161
+ </details>
162
+
163
+ # JavaScript API
164
+
165
+ <!--
166
+ <details>
167
+ <summary>Greenlock API (shared among JS implementations)</summary>
168
+ -->
169
+
170
+ <details>
171
+ <summary>Greenlock.create({ configDir, packageAgent, maintainerEmail, staging })</summary>
172
+
173
+ ## Greenlock.create()
174
+
175
+ Creates an instance of greenlock with _environment_-level values.
176
+
177
+ ```js
178
+
179
+ var pkg = require('./package.json');
180
+ var gl = Greenlock.create({
181
+ configDir: './greenlock.d/',
182
+
183
+ // Staging for testing environments
184
+ staging: true,
185
+
186
+ // This should be the contact who receives critical bug and security notifications
187
+ // Optionally, you may receive other (very few) updates, such as important new features
188
+ maintainerEmail: 'jon@example.com',
189
+
190
+ // for an RFC 8555 / RFC 7231 ACME client user agent
191
+ packageAgent: pkg.name + '/' pkg.version
192
+ });
193
+ ```
194
+
195
+ | Parameter | Description |
196
+ | --------------- | ------------------------------------------------------------------------------------ |
197
+ | configDir | the directory to use for file-based plugins |
198
+ | maintainerEmail | the developer contact for critical bug and security notifications |
199
+ | packageAgent | if you publish your package for others to use, `require('./package.json').name` here |
200
+ | staging | use the Let's Encrypt staging URL instead of the production URL |
201
+ | directoryUrl | for use with other (not Let's Encrypt) ACME services, and the Pebble test server |
202
+
203
+ <!--
204
+ | maintainerUpdates | (default: false) receive occasional non-critical notifications |
205
+ maintainerUpdates: true // default: false
206
+ -->
207
+
208
+ </details>
209
+
210
+ <details>
211
+ <summary>Greenlock#manager.defaults()</summary>
212
+
213
+ ## Greenlock#manager.defaults()
214
+
215
+ Acts as a getter when given no arguments.
216
+
217
+ Otherwise sets default, site-wide values as described below.
218
+
219
+ ```js
220
+ greenlock.manager.defaults({
221
+ // The "Let's Encrypt Subscriber" (often the same as the maintainer)
222
+ // NOT the end customer (except where that is also the maintainer)
223
+ subscriberEmail: 'jon@example.com',
224
+ agreeToTerms: true
225
+ challenges: {
226
+ "http-01": {
227
+ module: "acme-http-01-webroot",
228
+ webroot: "/path/to/webroot"
229
+ }
230
+ }
231
+ });
232
+ ```
233
+
234
+ | Parameter | Description |
235
+ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
236
+ | agreeToTerms | (default: false) either 'true' or a function that presents the Terms of Service and returns it once accepted |
237
+ | challenges['http-01'] | provide an http-01 challenge module |
238
+ | challenges['dns-01'] | provide a dns-01 challenge module |
239
+ | challenges['tls-alpn-01'] | provide a tls-alpn-01 challenge module |
240
+ | challenges[type].module | the name of your challenge module |
241
+ | challenges[type].xxxx | module-specific options |
242
+ | renewOffset | **leave the default** Other than for testing, leave this at the default of 45 days before expiration date (`'-45d'`) . Can also be set like `5w`, meaning 5 weeks after issue date |
243
+ | servername | the default servername to use for non-sni requests (many IoT clients) |
244
+ | subscriberEmail | the contact who agrees to the Let's Encrypt Subscriber Agreement and the Greenlock Terms of Service<br>this contact receives renewal failure notifications |
245
+ | store | override the default storage module |
246
+ | store.module | the name of your storage module |
247
+ | store.xxxx | options specific to your storage module |
248
+
249
+ <!--
250
+
251
+ | serverId | an arbitrary name to distinguish this server within a cluster of servers |
252
+
253
+ -->
254
+
255
+ </details>
256
+
257
+ <details>
258
+ <summary>Greenlock#add({ subject, altnames })</summary>
259
+
260
+ ## Greenlock#add()
261
+
262
+ Greenlock is a **Automated Certificate Management Environment**.
263
+
264
+ Once you add a "site", it will begin to automatically renew, immediately.
265
+
266
+ The certificates will provided to the `store` callbacks as soon as they are ready, and whenever they renew.
267
+ Failure to renew will be reported to the `notify` callback.
268
+
269
+ You can also retrieve them one-off with `get`.
270
+
271
+ ```js
272
+ gl.add({
273
+ subject: 'example.com',
274
+ altnames: ['example.com', 'www.example.com', 'exampleapi.com']
275
+ });
276
+ ```
277
+
278
+ | Parameter | Description |
279
+ | --------------- | -------------------------------------------------------------------------------------------- |
280
+ | subject | the first domain on, and identifier of the certificate |
281
+ | altnames | first domain, plus additional domains<br>note: the order should always be the same |
282
+ | subscriberEmail | if different from the default (i.e. multi-tenant, whitelabel) |
283
+ | challenges | (same as main config) use if this site needs to use non-default http-01 or dns-01 validation |
284
+
285
+ </details>
286
+
287
+ <details>
288
+ <summary>Greenlock#get({ servername })</summary>
289
+
290
+ ## Greenlock#get()
291
+
292
+ **Disclaimer**: This is only intended for testing, demos, and SNICallback
293
+ (in [Greenlock Express](https://git.rootprojects.org/root/greenlock-express.js)).
294
+
295
+ Greenlock is intended to be left running to allow it to fetech and renew certifictates automatically.
296
+
297
+ It is intended that you use the `store` callbacks to new certificates instantly as soon as they renew.
298
+ This also protects you from accidentally stampeding the Let's Encrypt API with hundreds (or thousands)
299
+ of certificate requests.
300
+
301
+ - [Store Callback Documentation](https://git.rootprojects.org/root/greenlock-store-test.js)
302
+
303
+ ```js
304
+ return greenlock.get({ servername }).then(function(site) {
305
+ if (!site) {
306
+ console.log(servername + ' was not found in any site config');
307
+ return;
308
+ }
309
+
310
+ var privkey = site.pems.privkey;
311
+ var fullchain = site.pems.cert + '\n' + site.pems.chain + '\n';
312
+ console.log(privkey);
313
+ console.log(fullchain);
314
+ });
315
+ ```
316
+
317
+ | Parameter | Description |
318
+ | ---------- | ------------------------------------------------------------- |
319
+ | servername | any altname listed on the certificate (including the subject) |
320
+
321
+ </details>
322
+
323
+ <details>
324
+ <summary>Greenlock#renew({ renewBefore })</summary>
325
+
326
+ ## Greenlock#renew()
327
+
328
+ This will renew only domains that have reached their `renewAt` or are within the befault `renewOffset`.
329
+
330
+ **Note**: This runs at regular intervals, multiple times a day, in the background.
331
+ You are not required to call it. If you implement the `store` callbacks, the certificates
332
+ will automatically be saved (and if you don't implement them, they all get saved to disk).
333
+
334
+ ```js
335
+ return greenlock.renew({}).then(function(results) {
336
+ results.forEach(function(site) {
337
+ if (site.error) {
338
+ console.error(site.subject, site.error);
339
+ return;
340
+ }
341
+ console.log('Renewed certificate for', site.subject, site.altnames);
342
+ });
343
+ });
344
+ ```
345
+
346
+ | Parameter | Type | Description |
347
+ | ----------- | ---- | ------------------------------------------------------------------------------- |
348
+ | (optional) | | ALL parameters are optional, but some should be paired |
349
+ | force | bool | force silly options, such as tiny durations |
350
+ | renewBefore | ms | Check domains that are scheduled to renew before the given date in milliseconds |
351
+
352
+ <!--
353
+ | issuedBefore | ms | Check domains issued before the given date in milliseconds |
354
+ | expiresBefore | ms | Check domains that expire before the given date in milliseconds |
355
+ -->
356
+
357
+ </details>
358
+
359
+ <details>
360
+ <summary>Greenlock#remove({ subject })</summary>
361
+
362
+ ## Greenlock#manager.remove()
363
+
364
+ To stop certificates from being renewed, you must remove them.
365
+
366
+ If you are implementing your own `manager` callbacks, I recommend that you mark them as deleted
367
+ (i.e. `deleted_at` in your database) rather than actually removing them. Just in case.
368
+
369
+ ```js
370
+ gl.remove({
371
+ subject: 'example.com'
372
+ }).then(function(siteConfig) {
373
+ // save the old site config elsewhere, just in case you need it again
374
+ });
375
+ ```
376
+
377
+ | Parameter | Description |
378
+ | --------- | ------------------------------------------------------ |
379
+ | subject | the first domain on, and identifier of the certificate |
380
+
381
+ </details>
382
+
383
+ <details>
384
+ <summary>Events</summary>
385
+
386
+ Most of the events bubble from ACME.js.
387
+
388
+ See https://git.rootprojects.org/root/acme.js#api-overview
389
+
390
+ _TODO_: document the greenlock-specific events.
391
+
392
+ </details>
393
+
394
+ <!--
395
+
396
+ <details>
397
+ <summary>Node.js</summary>
398
+ -->
399
+
400
+ # Install
401
+
402
+ Greenlock comes with reasonable defaults but when you install it,
403
+ you should also install any plugins that you need.
404
+
405
+ ```bash
406
+ npm install --save @root/greenlock@v4
407
+ npm install --save @greenlock/manager
408
+ npm install --save greenlock-store-fs
409
+ npm install --save acme-http-01-standalone
410
+ ```
411
+
412
+ <!--
413
+
414
+ TODO
415
+
416
+ </details>
417
+
418
+ <details>
419
+ <summary>Express.js</summary>
420
+
421
+ ```js
422
+ 'use strict';
423
+
424
+ var Greenlock = require(@root/greenlock-express);
425
+
426
+ var greenlock = Greenlock.create({
427
+ // for security and critical bug notices
428
+ maintainerEmail: 'jon@example.com'
429
+
430
+ // for
431
+ maintainerNewsletter: true
432
+ });
433
+ ```
434
+
435
+ </details>
436
+
437
+ <details>
438
+ <summary>WebPack</summary>
439
+ TODO
440
+ </details>
441
+
442
+ <details>
443
+ <summary>VanillaJS for Browsers</summary>
444
+ TODO
445
+ </details>
446
+
447
+ -->
448
+
449
+ # Easy to Customize
450
+
451
+ <!-- greenlock-manager-test => greenlock-manager-custom -->
452
+
453
+ <!--
454
+ - [greenlock.js/examples/](https://git.rootprojects.org/root/greenlock.js/src/branch/master/examples)
455
+ -->
456
+
457
+ <details>
458
+ <summary>SSL Cert & Domain Management</summary>
459
+
460
+ ## SSL Certificate & Domain Management
461
+
462
+ Full Docs: https://git.rootprojects.org/root/greenlock-manager-test.js
463
+
464
+ This is what keeps the mapping of domains <-> certificates.
465
+ In many cases it will interact with the same database as the Key & Cert Store, and probably the code as well.
466
+
467
+ - set({ subject, altnames, renewAt })
468
+ - find({ servernames, renewBefore })
469
+ ```js
470
+ // should return a list of site configs:
471
+ [
472
+ {
473
+ subject: 'example.com',
474
+ altnames: ['example.com', 'exampleapi.com'],
475
+ renewAt: 1575197231760
476
+ },
477
+ {
478
+ subject: '*.example.com',
479
+ altnames: ['*.example.com'],
480
+ renewAt: 1575197231760,
481
+ challenges: {
482
+ 'dns-01': {
483
+ module: 'acme-dns-01-dnsimple',
484
+ apikey: 'xxxx'
485
+ }
486
+ }
487
+ }
488
+ ];
489
+ ```
490
+ - remove({ subject })
491
+ - defaults() (both getter and setter)
492
+ ```json
493
+ {
494
+ "subscriberEmail": "jane@example.com",
495
+ "agreeToTerms": true,
496
+ "challenges": {
497
+ "http-01": {
498
+ "module": "acme-http-01-standalone"
499
+ }
500
+ }
501
+ }
502
+ ```
503
+
504
+ </details>
505
+
506
+ <details>
507
+ <summary>Key & Cert Storage</summary>
508
+
509
+ ## Key and Certificate Store
510
+
511
+ Full Docs: https://git.rootprojects.org/root/greenlock-store-test.js
512
+
513
+ This set of callbacks update your service with new certificates and keypairs.
514
+
515
+ ### Account Keys (JWK)
516
+
517
+ (though typically you only have one account key - because you only have one subscriber email)
518
+
519
+ - accounts.setKeypair({ email, keypair })
520
+ - accounts.checkKeypair({ email })
521
+
522
+ ### Certificate Keys (JWK + PEM)
523
+
524
+ (typically you have one for each set of domains, and each load balancer)
525
+
526
+ - certificates.setKeypair({ subject, keypair })
527
+ - certificates.checkKeypair({ subject })
528
+ (these are fine to implement the same as above, swapping subject/email)
529
+
530
+ ### Certificate PEMs
531
+
532
+ - certificates.set({ subject, pems })
533
+ - certificates.check({ subject })
534
+
535
+ </details>
536
+
537
+ <details>
538
+ <summary>ACME HTTP-01 Challenges</summary>
539
+
540
+ ## ACME Challenge HTTP-01 Strategies
541
+
542
+ Full Docs: https://git.rootprojects.org/root/acme-http-01-test.js
543
+
544
+ This validation and authorization strategy is done over plain HTTP on Port 80.
545
+
546
+ These are used to set files containing tokens that Let's Encrypt will fetch from each domain
547
+ before authorizing a certificate.
548
+
549
+ **NOT for Wildcards**.
550
+
551
+ - init({ request })
552
+ - set({ challenge: { type, token, keyAuthorization, challengeUrl } })
553
+ - get({ challenge: { type, token } })
554
+ - remove({ challenge: { type, token } })
555
+
556
+ <!--
557
+ TODO: getAcmeHttp01Challenge
558
+ -->
559
+
560
+ </details>
561
+
562
+ <details>
563
+ <summary>ACME DNS-01 Challenges</summary>
564
+
565
+ ## ACME Challenge DNS-01 Strategies
566
+
567
+ Full Docs https://git.rootprojects.org/root/acme-dns-01-test.js
568
+
569
+ This validation and authorization strategy is done over DNS on UDP and TCP ports 53.
570
+
571
+ **For Wildcards**
572
+
573
+ These are used to set TXT records containing tokens that Let's Encrypt will fetch for
574
+ each domain before authorizing a certificate.
575
+
576
+ - init({ request })
577
+ - zones()
578
+ - set({ challenge: { type, dnsZone, dnsPrefix, dnsHost, keyAuthorizationDigest } })
579
+ - get({ challenge: { type, dnsZone, dnsPrefix, dnsHost } })
580
+ - remove({ challenge: { type, dnsZone, dnsPrefix, dnsHost } })
581
+
582
+ </details>
583
+
584
+ <details>
585
+ <summary>Notes on HTTP-01 &amp; DNS-01 Integrations</summary>
586
+
587
+ ## Notes on HTTP-01 &amp; DNS-01 Integrations
588
+
589
+ For Public Web Servers running on a VPS, the **default HTTP-01 challenge plugin**
590
+ will work just fine, for most people.
591
+
592
+ However, for environments that cannot be verified via public HTTP, such as
593
+
594
+ - **Wildcard Certificates**
595
+ - **IoT Environments**
596
+ - **Enterprise On-Prem**
597
+ - **Private Networks**
598
+
599
+ Greenlock provides an easy way to integrate Let's Encrypt with your existing services
600
+ through a variety of **DNS-01** challenges.
601
+
602
+ ### Why not use dns01 for everything?
603
+
604
+ Typically file propagation is faster and more reliably than DNS propagation.
605
+ Therefore, http-01 will be preferred to dns-01 except when wildcards or **private domains** are in use.
606
+
607
+ http-01 will only be supplied as a defaut if no other challenge is provided.
608
+
609
+ </details>
610
+
611
+ # Ready-made Integrations
612
+
613
+ Greenlock Express integrates between Let's Encrypt's ACME Challenges and many popular services.
614
+
615
+ | Type | Service | Plugin |
616
+ | ----------- | ----------------------------------------------------------------------------------- | ------------------------ |
617
+ | dns-01 | CloudFlare | acme-dns-01-cloudflare |
618
+ | dns-01 | [Digital Ocean](https://git.rootprojects.org/root/acme-dns-01-digitalocean.js) | acme-dns-01-digitalocean |
619
+ | dns-01 | [DNSimple](https://git.rootprojects.org/root/acme-dns-01-dnsimple.js) | acme-dns-01-dnsimple |
620
+ | dns-01 | [DuckDNS](https://git.rootprojects.org/root/acme-dns-01-duckdns.js) | acme-dns-01-duckdns |
621
+ | http-01 | File System / [Web Root](https://git.rootprojects.org/root/acme-http-01-webroot.js) | acme-http-01-webroot |
622
+ | dns-01 | [GoDaddy](https://git.rootprojects.org/root/acme-dns-01-godaddy.js) | acme-dns-01-godaddy |
623
+ | dns-01 | [Gandi](https://git.rootprojects.org/root/acme-dns-01-gandi.js) | acme-dns-01-gandi |
624
+ | dns-01 | [NameCheap](https://git.rootprojects.org/root/acme-dns-01-namecheap.js) | acme-dns-01-namecheap |
625
+ | dns-01 | [Name&#46;com](https://git.rootprojects.org/root/acme-dns-01-namedotcom.js) | acme-dns-01-namedotcom |
626
+ | dns-01 | Route53 (AWS) | acme-dns-01-route53 |
627
+ | http-01 | S3 (AWS, Digital Ocean, Scaleway) | acme-http-01-s3 |
628
+ | dns-01 | [Vultr](https://git.rootprojects.org/root/acme-dns-01-vultr.js) | acme-dns-01-vultr |
629
+ | dns-01 | [Build your own](https://git.rootprojects.org/root/acme-dns-01-test.js) | acme-dns-01-test |
630
+ | http-01 | [Build your own](https://git.rootprojects.org/root/acme-http-01-test.js) | acme-http-01-test |
631
+ | tls-alpn-01 | [Contact us](mailto:support@therootcompany.com) | - |
632
+
633
+ Search `acme-http-01-` or `acme-dns-01-` on npm to find more.
634
+
635
+ # Commercial Support
636
+
637
+ Do you need...
638
+
639
+ - training?
640
+ - specific features?
641
+ - different integrations?
642
+ - bugfixes, on _your_ timeline?
643
+ - custom code, built by experts?
644
+ - commercial support and licensing?
645
+
646
+ You're welcome to [contact us](mailto:aj@therootcompany.com) in regards to IoT, On-Prem,
647
+ Enterprise, and Internal installations, integrations, and deployments.
648
+
649
+ We have both commercial support and commercial licensing available.
650
+
651
+ We also offer consulting for all-things-ACME and Let's Encrypt.
652
+
653
+ # Legal &amp; Rules of the Road
654
+
655
+ Greenlock&trade; is a [trademark](https://rootprojects.org/legal/#trademark) of AJ ONeal
656
+
657
+ The rule of thumb is "attribute, but don't confuse". For example:
658
+
659
+ > Built with [Greenlock Express](https://git.rootprojects.org/root/greenlock.js) (a [Root](https://rootprojects.org) project).
660
+
661
+ Please [contact us](mailto:aj@therootcompany.com) if you have any questions in regards to our trademark,
662
+ attribution, and/or visible source policies. We want to build great software and a great community.
663
+
664
+ [Greenlock&trade;](https://git.rootprojects.org/root/greenlock.js) |
665
+ MPL-2.0 |
666
+ [Terms of Use](https://therootcompany.com/legal/#terms) |
667
+ [Privacy Policy](https://therootcompany.com/legal/#privacy)