https://github.com/zdying/cert-tool
A tool to generate SSL/TLS certificates
https://github.com/zdying/cert-tool
Last synced: about 1 year ago
JSON representation
A tool to generate SSL/TLS certificates
- Host: GitHub
- URL: https://github.com/zdying/cert-tool
- Owner: zdying
- License: mit
- Created: 2017-01-19T08:14:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T15:51:16.000Z (about 9 years ago)
- Last Synced: 2025-02-05T13:52:54.432Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cert-Tool
A tool to generate SSL/TLS slef signed certificates
# Install
```bash
npm install -g cert-tool
```
# Usage
```bash
# create root ca certificate
cert-tool create-root-cert
# create certificate for domain
cert-tool create-root-cert fileName
# multiple host name in one certificate
cert-tool create-root-cert fileName www.example.com,example.com,192.168.237.90
```
# Node.js API
### createRootCert(caName)
### createCert(fileName, caName, subDomains)