Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
acme-dns-01-digitalocean
Advanced tools
Digital Ocean DNS for Let's Encrypt / ACME dns-01 challenges with ACME.js and Greenlock.js
Digital Ocean DNS + Let's Encrypt for Node.js
This handles ACME dns-01 challenges, compatible with ACME.js and Greenlock.js. Passes acme-dns-01-test.
npm install --save acme-dns-01-digitalocean@3.x
Generate Digital Ocean API Token:
First you create an instance with your credentials:
var dns01 = require('acme-dns-01-digitalocean').create({
baseUrl: 'https://api.digitalocean.com/v2/domains', // default
token: 'xxxx'
});
Then you can use it with any compatible ACME library, such as Greenlock.js or ACME.js.
var Greenlock = require('greenlock-express');
var greenlock = Greenlock.create({
challenges: {
'dns-01': dns01
// ...
}
});
See Greenlock Express and/or Greenlock.js documentation for more details.
// TODO
See the ACME.js for more details.
There are only 5 methods:
init(config)
zones(opts)
set(opts)
get(opts)
remove(opts)
dns01
.set({
identifier: { value: 'foo.example.co.uk' },
wildcard: false,
dnsZone: 'example.co.uk',
dnsPrefix: '_acme-challenge.foo',
dnsAuthorization: 'xxx_secret_xxx'
})
.then(function() {
console.log('TXT record set');
})
.catch(function() {
console.log('Failed to set TXT record');
});
See acme-dns-01-test for more implementation details.
# node ./test.js domain-zone api-token
node ./test.js example.com xxxxxx
See AUTHORS for contact info.
acme-dns-01-digitalocean.js | MPL-2.0 | Terms of Use | Privacy Policy
Copyright 2019 The Root Group LLC
FAQs
Digital Ocean DNS for Let's Encrypt / ACME dns-01 challenges with ACME.js and Greenlock.js
The npm package acme-dns-01-digitalocean receives a total of 13 weekly downloads. As such, acme-dns-01-digitalocean popularity was classified as not popular.
We found that acme-dns-01-digitalocean demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.