oneuptime/AcmeHttp/README.md

22 lines
621 B
Markdown
Raw Normal View History

2021-11-28 09:31:17 +00:00
# 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
2022-02-25 13:22:20 +00:00
import Greenlock from 'greenlock'
2021-11-28 09:31:17 +00:00
Greenlock.create({
challenges: {
'http-01': {
module: 'oneuptime-acme-http-01',
},
},
// ...
});