4.0.34 • Published 2 years ago

oneuptime-gl-manager-staging v4.0.34

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

oneuptime-gl-manager

Manages SSL Certificate issuance and renewal for Greenlock on OneUptime platform.

Saves global and per-site config to a local File Sytem (current).

Install

npm install --save oneuptime-gl-manager

Usage

Initialize the Manager

Greenlock.create({
    ...
    manager: "oneuptime-gl-manager",
    configDir: "./greenlock.d",
    packageRoot: __dirname
    ...
});

Site Management

By "site" we mean a primary domain and, optionally, secondary domains, to be listed on an ssl certificate, along with any configuration that is necessary for getting and renewing those certificates.

Add a sites - domains and SSL certificates

greenlock.add({
    subject: 'example.com',
    altnames: ['example.com', 'www.example.com'],
});

View site config

greenlock.get({
    servername: 'www.example.com',
    wildname: '*.example.com',
});

Update site config

greenlock.update({
    subject: 'www.example.com',
    challenges: {
        'dns-01': {
            module: 'acme-dns-01-ovh',
            token: 'xxxx',
        },
    },
});

Remove a site

To stop automatic renewal of SSL certificates for a particular site. You to restart renewal you must use add().

greenlock.remove({
    subject: 'example.com',
});
3.0.23

2 years ago

3.0.24

2 years ago

3.0.21

2 years ago

3.0.22

2 years ago

3.0.27

2 years ago

3.0.14267

2 years ago

3.0.25

2 years ago

3.0.26

2 years ago

3.0.14342

2 years ago

3.0.14403

2 years ago

3.0.14400

2 years ago

3.0.20

2 years ago

4.0.29

2 years ago

3.0.18

2 years ago

4.0.28

2 years ago

3.0.19

2 years ago

3.0.14281

2 years ago

3.0.14394

2 years ago

3.0.14596

2 years ago

3.0.17

2 years ago

3.0.14476

2 years ago

3.0.14435

2 years ago

3.0.0

2 years ago

4.0.30

2 years ago

4.0.32

2 years ago

4.0.31

2 years ago

4.0.34

2 years ago

4.0.33

2 years ago

3.0.14235

2 years ago

3.0.14233

2 years ago

3.0.14231

2 years ago

3.0.14227

2 years ago