zalando-ca

2.1.1 • Public • Published

zalando-ca

This package is just a convenience to be able to call all services, both using Zalando CA and all regular CA authorities for which it uses a dump from Ubuntu certificates.

Usage

Add the package to your node app.

npm i --save zalando-ca

Require the CAs and use them in your request

const ca = require('zalando-ca').load();
const https = require('https');

const request = https.request({
    hostname: 'some-zalando-endpoint.com',
    ca: ca
}, function (response) {
    console.log(response.statusCode);
});
request.end();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.1
    1,830
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.1
    1,830
  • 2.1.0
    2
  • 2.0.0
    4
  • 1.0.0
    5

Package Sidebar

Install

npm i zalando-ca

Weekly Downloads

106

Version

2.1.1

License

MIT

Last publish

Collaborators

  • grassator