Go to file
2016-06-18 16:03:58 +02:00
dist update Readme 2016-06-18 16:03:46 +02:00
ts more structure 2016-06-18 15:59:03 +02:00
.gitignore update deps and README 2016-06-18 14:59:46 +02:00
.gitlab-ci.yml fix branches for ci 2016-06-18 15:09:44 +02:00
LICENSE Initial commit 2016-04-10 01:19:30 +02:00
package.json 0.0.6 2016-06-18 16:03:58 +02:00
README.md update Readme 2016-06-18 16:03:46 +02:00

Cert

Easily obain SSL certificates from LetsEncrypt. Supports DNS-01 challenge. TypeScript ready.

Note: this package is in pre-alpha stage and will be ready soon.

Usage

import {Cert} from "cert";

let myCert = new Cert({
    cfEmail: "some@cloudflare.email",
    cfKey: "someCloudflareApiKey",
    sslDir: "someOutputPath", // NOTE: if you already have certificates, make sure you put them in here, so cert only requires the missing ones
    gitOriginRepo: "git@githhub.com/someuser/somereopo" // good for pesistence in highly volatile environments like docker
});

myCert.getDomainCert("example.com");

sslDir

to use the certificates it is important to understand what the structure of the ssl directory looks like.