Files
scm/README.md
T
2025-07-15 00:44:36 +07:00

29 lines
481 B
Markdown

# scm - SSL Certificate Manager
## endpoints
- `/api/certs` - get all certificates and details
- `/api/certs/create` - create a new certificate
- `/api/certs/delete` - delete a certificate
## 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
```