mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
22 lines
621 B
Markdown
22 lines
621 B
Markdown
# oneuptime-acme-http-01 Package for Greenlock
|
|
|
|
This module handles acme-http-01 challenge and also the api call to OneUptime backend to persist keyAuthorization and token data from acme directory in our mongodb. The stored data will be used by OneUptime to validate all our certificate order/renewal.
|
|
|
|
## Install
|
|
|
|
npm install oneuptime-acme-http-01
|
|
|
|
## Usage
|
|
|
|
// make sure greenlock is already installed
|
|
import Greenlock from 'greenlock'
|
|
|
|
Greenlock.create({
|
|
challenges: {
|
|
'http-01': {
|
|
module: 'oneuptime-acme-http-01',
|
|
},
|
|
},
|
|
// ...
|
|
});
|