1.8.4 • Published 12 days ago
@peculiar/acme-ra v1.8.4
@peculiar/acme-ra
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
12 days ago
1.8.3
2 months ago
1.8.2
9 months ago
1.8.0
2 years ago
1.7.6
2 years ago
1.7.2
2 years ago
1.7.1
2 years ago
1.7.0
2 years ago
1.6.1
3 years ago
1.6.0
3 years ago
1.5.5
3 years ago
1.5.4
3 years ago
1.5.2
3 years ago
1.5.1
3 years ago
1.5.0
3 years ago
1.4.4
3 years ago
1.4.3
3 years ago
1.4.2
3 years ago
1.4.1
3 years ago
1.3.0
3 years ago
1.2.13
3 years ago
1.2.12
3 years ago
1.2.11
3 years ago
1.2.10
4 years ago
1.2.9
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago