# openssl-docker

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

Latest version **1.0.9** (published 2022-08-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install openssl-docker
pnpm add openssl-docker
yarn add openssl-docker
bun add openssl-docker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2022-08-11 |
| First published | 2020-05-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 20.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | petermdias@gmail.com |
| Maintainers | apocas |

## Links

- npm: https://www.npmjs.com/package/openssl-docker
- Repository: https://github.com/apocas/openssl-docker
- Homepage: https://github.com/apocas/openssl-docker#readme
- Issues: https://github.com/apocas/openssl-docker/issues
- npm.io page: https://npm.io/package/openssl-docker

## Dependencies (1)

- [dockerode](https://npm.io/package/dockerode.md) ^3.2.0

## Recent versions

- 1.0.9 (latest) — 2022-08-11
- 1.0.8 — 2020-07-22
- 1.0.7 — 2020-07-01
- 1.0.6 — 2020-06-26
- 1.0.5 — 2020-06-26
- 1.0.4 — 2020-06-25
- 1.0.3 — 2020-06-24
- 1.0.1 — 2020-05-26
- 1.0.0 — 2020-05-26

## README

# openssl-docker

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

## Installation

`npm install openssl-docker`

## Usage

### Getting started

``` js
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](https://twitter.com/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.

---
_Source: https://npm.io/package/openssl-docker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
