mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
.. | ||
lib | ||
.gitignore | ||
index.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
test.js |
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
const Greenlock = require('greenlock');
Greenlock.create({
challenges: {
'http-01': {
module: 'oneuptime-acme-http-01',
},
},
// ...
});