Socket
Socket
Sign inDemoInstall

@peculiar/acme-express

Package Overview
Dependencies
108
Maintainers
6
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @peculiar/acme-express

Express middleware that addsAutomatic Certificate Management Environment (ACME) implementing RFC 8555 protocol


Version published
Weekly downloads
1
decreased by-80%
Maintainers
6
Install size
8.36 MB
Created
Weekly downloads
 

Changelog

Source

1.8.4 (2024-04-16)

Reverts

  • Revert "chore(data): Extend account, externalAccount interfaces" (3e7d3af)

Readme

Source

@peculiar/acme-express

License: AGPL v3 npm version

About

@peculiar/acme-express is an Express middleware that can be used to addAutomatic Certificate Management Environment (ACME) implementing RFC 8555 protocol.

Installation

npm install @peculiar/acme-express

Usage

import * as data from "@peculiar/acme-data-memory";
import { AcmeExpress } from "@peculiar/acme-express";
import * as server from "@peculiar/acme-server";
import { Crypto } from "@peculiar/webcrypto";
import * as express from "express";
import { container } from "tsyringe";

const app = express();

AcmeExpress.register(app, {
    baseAddress: "http://localhost:4000/acme",
    cryptoProvider: crypto,
  });

// Register Data layer
data.DependencyInjection.register(container);
// Register Enrollment layer
container.register(server.diCertificateService, CertificateEnrollmentService);


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

Keywords

FAQs

Last updated on 16 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc