https://github.com/digitalsparky/ssl-tools
https://github.com/digitalsparky/ssl-tools
ssl
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/digitalsparky/ssl-tools
- Owner: digitalsparky
- Created: 2016-03-06T13:44:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T06:31:45.000Z (over 5 years ago)
- Last Synced: 2025-01-11T21:41:19.980Z (5 months ago)
- Topics: ssl
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ssl-tools
# Private Certificate Authority
```
Usage:
ca.sh -n
common-name: the FQDN or identifying name for the certificate (ie: your name, or host.example.com)
options:
-k: generate an rsa key for the common-name
-c: generate a certificate signing request for the common-name (requires key)
-s: sign a certificate signing request against the CA
Example:
ca.sh -n example.com -k -c -s
Generates the rsa key, and signing request, then signs the request with the certificate authority
ca.sh -n example.com -k
Generates only the rsa key for the common-name
ca.sh -n example.com -k -c
Generates the rsa key and certificate signing request based on that key
ca.sh -n example.com -c
Generates an rsa key based on a pre-existing key only
This requires the key to exist in the private directory, eg:
./my-ca/priv/example.com.key
ca.sh -n example.com -s
Signs an existing csr with the certificate authority
This requires the csr to exist in the csr directory, eg:
./my-ca/csr/example.com.csr
```
# Key generation and Certificate Signing Request generation```
Usage:
csrgen.sh -n
common-name: the FQDN or identifying name for the certificate (ie: your name, or host.example.com)
options:
-k: generate an rsa key for the common-name
-c: generate a certificate signing request for the common-name (requires key)
Example:
csrgen.sh -n example.com -k
Generates only the rsa key for the common-name
csrgen.sh -n example.com -k -c
Generates the rsa key and certificate signing request based on that key
csrgen.sh -n example.com -c
Generates an rsa key based on a pre-existing key only
This requires the key to exist in the private directory, eg:
./priv/example.com.key
```# Debian CA Installer
```
cd into your CA folder./installca.debian.sh
```# Like my stuff?
Would you like to buy me a coffee or send me a tip?
While it's not expected, I would really appreciate it.[](https://paypal.me/MattSpurrier)
```