https://github.com/txthinking/mad
Generate root CA and derivative certificate for any domains and any IPs.
https://github.com/txthinking/mad
Last synced: 6 months ago
JSON representation
Generate root CA and derivative certificate for any domains and any IPs.
- Host: GitHub
- URL: https://github.com/txthinking/mad
- Owner: txthinking
- License: mit
- Created: 2021-03-25T11:34:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-23T10:09:02.000Z (over 1 year ago)
- Last Synced: 2025-03-19T05:55:57.782Z (about 1 year ago)
- Language: Go
- Homepage: https://www.txthinking.com
- Size: 5.05 MB
- Stars: 48
- Watchers: 4
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# mad
Generate root CA and derivative certificate for any domains and any IPs
❤️ A project by [txthinking.com](https://www.txthinking.com)
### Install via [Nami](https://github.com/txthinking/nami)
nami install mad
### Usage
```
NAME:
Mad - Generate root CA and derivative certificate for any domains and any IPs
USAGE:
mad [global options] command [command options] [arguments...]
VERSION:
20210401
AUTHOR:
Cloud
COMMANDS:
ca Generate CA
cert Generate certificate
install Install ROOT CA
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)
```
### Example
Generate root CA
```
mad ca --ca ./ca.pem --key ./ca_key.pem
```
Generate cert for `localhost`
```
mad cert --ca ./ca.pem --ca_key ./ca_key.pem --cert ./localhost_cert.pem --key ./localhost_cert_key.pem --domain localhost
```
## License
Licensed under The MIT License