27 lines
387 B
Markdown
27 lines
387 B
Markdown
# scm - SSL Certificate Manager
|
|
|
|
## endpoints
|
|
|
|
- `/api/certs` - get all certificates and details
|
|
|
|
## build
|
|
|
|
```shell
|
|
go build -o scm
|
|
```
|
|
|
|
## configuration
|
|
|
|
### example config file - scm.conf
|
|
|
|
```
|
|
ENABLE_TLS=true
|
|
CERT_FILE=/home/tola/certs/localhost/localhost.crt
|
|
KEY_FILE=/home/tola/certs/localhost/localhost.key
|
|
|
|
CERTS_PATH=/home/tola/certs
|
|
|
|
SERVER_ADDRESS=0.0.0.0
|
|
SERVER_PORT=8777
|
|
```
|