renew-cert.sh/README.md
2025-09-11 20:29:10 +02:00

38 lines
851 B
Markdown

# Project Name
This script checks the validity of a certificate and renews it if necessary
## Requirements
A pki on <pki_path>/\<domain>
## Installation
```bash
sudo ./install.sh
```
A cron file is created
## Parameters
See `/etc/renew-cert/renew-cert.conf`
## Usage
```bash
./renew-cert.sh --help
```
```bash
Usage: ./renew-cert.sh options
Renew wilcard certificat
Options:
-d, --domain - domain name
-p, --param - display parameters
-h, --help - display this help
-v, --version - display script version
Example
Renew wildcard certificat for domain gmolab.net
./renew-cert.sh --domain gmolab.net
```
### Changelog
### [1.0.0] - 2025-09-11
#### Added
- check expiration date certificate
- renew certification
- send mail
#### Project initialization
- initialization by [GMo](mailto:gilles.mouchet@gmail.com)