1.8.4 • Published 1 year ago

@peculiar/acme-ra v1.8.4

Weekly downloads
82
License
AGPL
Repository
github
Last release
1 year ago

@peculiar/acme-ra

License: AGPL v3 npm version

About

@peculiar/acme-ra is Express middleware withAutomatic Certificate Management Environment (ACME) implementing RFC 8555 protocol that supports External Account Binding using Bearer tokens and multiple Certificate Authority endpoints.

Installation

npm install @peculiar/acme-ra

Usage

import * as express from "express";
import { cryptoProvider, X509CertificateGenerator } from "@peculiar/x509";
import { Crypto } from "@peculiar/webcrypto";
import { AcmeRa, diEndpointService } from "@peculiar/acme-ra";

const app = express();

const crypto = new Crypto();
cryptoProvider.set(crypto);

AcmeRa.register(app, {
    baseAddress: "http://localhost:4000/acme",
    levelLogger: "info",
    cryptoProvider: crypto,
    debugMode: true,
    extraCertificateStorage: [rootCert, caCert],
    meta: { externalAccountRequired: true },
    defaultEndpoint: "default",
    auth0Domain: "http://domain.auth0.com",
  });

app.listen(8000, () => {
  console.log(`Server is running`);
});
1.8.4

1 year ago

1.8.3

1 year ago

1.8.2

2 years ago

1.8.0

3 years ago

1.7.6

3 years ago

1.7.2

3 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.5

4 years ago

1.5.4

4 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.3.0

5 years ago

1.2.13

5 years ago

1.2.12

5 years ago

1.2.11

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago