Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

acme-dns-01-domeneshop

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acme-dns-01-domeneshop

Domeneshop + Let's Encrypt for Node.js

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

acme-dns-01-domeneshop

Domeneshop + Let's Encrypt for Node.js

This handles ACME dns-01 challenges, compatible with ACME.js and Greenlock.js.

Install

npm i --s acme-dns-01-domeneshop

Generate Domeneshop API Token:

Usage

First you create an instance with your credentials:

import dns01 from 'acme-dns-01-domeneshop'

Then you can use it with any compatible ACME library, such as Greenlock.js or ACME.js.

Greenlock.js

import Greenlock from 'greenlock-express'

const greenlock = Greenlock.create({
    challenges: {
        'dns-01': dns01({
            domain,
            token,
            secret,
            propagationTimeout: 3000, // (optional)
            propagationDelay: 5000 // (optional)
        })
    }
})

See Greenlock Express and/or Greenlock.js documentation for more details.

ACME.js

let pems = await acme.certificates.create({
    account,
    accountKey,
    csr,
    domains,
    challenges: {
        'dns-01': dns01({
            domain: topLevelDomain,
            token: provider?.key,
            secret: provider?.secret,
            propagationTimeout: 3000, // (optional)
            propagationDelay: 5000 // (optional)
        })
    }
})

See the ACME.js for more details.

Authors

  • Siglar Development AS

FAQs

Package last updated on 27 May 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc