https://github.com/chrisllontop/zerossl
Unofficial Node client for Zero SSL
https://github.com/chrisllontop/zerossl
client zerossl zerossl-apis zerossl-client
Last synced: 5 months ago
JSON representation
Unofficial Node client for Zero SSL
- Host: GitHub
- URL: https://github.com/chrisllontop/zerossl
- Owner: chrisllontop
- License: mit
- Created: 2024-05-12T02:35:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T16:14:19.000Z (almost 2 years ago)
- Last Synced: 2025-09-25T21:57:35.575Z (9 months ago)
- Topics: client, zerossl, zerossl-apis, zerossl-client
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/zerossl-client
- Size: 227 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZeroSSL Client
Unofficial Node.js client for the [ZeroSSL API](https://zerossl.com/documentation/api/)



[](https://opensource.org/licenses/MIT)
## Features
- Easy management of SSL certificates.
- Straightforward integration with the ZeroSSL API.
- Supports all key operations such as creating, revoking, and getting the status of certificates.
## Installation
```bash
npm install zerossl-client
yarn add zerossl-client
pnpm install zerossl-client
```
## Usage
To use the Zero SSL Client, you need to instantiate it with your ZeroSSL API token. Here is a basic example:
```javascript
import {ZeroSSL} from 'zerossl-client';
const client = new ZeroSSL('your-api-token');
// Generating a new CSR
const csr = await client.generateCsr({
common_name: "example.com",
organization: "Example Inc",
organizational_unit: "IT",
locality: "San Francisco",
state: "California",
country: "US",
email: "jhon.doe@example.com",
});
// Creating a new SSL certificate
await client.createCertificate({
certificate_domains: "example.com",
certificate_csr: csr,
});
```
# Disclaimer
This library is a community open source project. There is no connection with ZeroSSL or Stack Holdings GmbH. The term ZeroSSL/zerossl is recognised as ZeroSSLâ„¢, a trademark of Stack Holdings GmbH in the USA, EU & UK and this library is provided in good faith as a community open source project.