Wondering what’s next for npm?Check out our public roadmap! »

    openssl-docker

    1.0.8 • Public • Published

    openssl-docker

    Small and quick openssl-docker module to execute openssl features inside Docker containers.

    Installation

    npm install openssl-docker

    Usage

    Getting started

    var OpensslDocker = require('openssl-docker');
    var openssl = new OpensslDocker();
     
    openssl.csr('exampledomain.com', {
      outputDir: '/tmp/',
      read: true,
      company: 'Example, Inc.',
      email: 'joe@foobar.com'
    }, function (err, keys) {
      if (err) {
        console.log(err)
      } else {
        console.log('CSR created!')
        console.log('key: ' + keys.key);
        console.log('csr: ' + keys.csr);
      }
    });

    Tests

    • docker pull apocas/openssl to prepare your system for the tests.
    • Tests are implemented using mocha and chai. Run them with npm test.

    Examples

    Check the examples folder for more specific use cases examples.

    License

    Pedro Dias - @pedromdias

    Licensed under the Apache license, version 2.0 (the "license"); You may not use this file except in compliance with the license. You may obtain a copy of the license at:

    http://www.apache.org/licenses/LICENSE-2.0.html
    

    Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.

    Keywords

    none

    Install

    npm i openssl-docker

    DownloadsWeekly Downloads

    2

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    20.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar