cert-checker v1.2 - config.ini & downloading certs
Release Notes - v1.2
New Features
Config file
You can adjust the following settings using config.ini:
| Option | Description | Default |
|---|---|---|
| urls_file | Path to the URL list | default_urls.txt |
| log_file | Path to the log file | cert-check.log |
| report_dir | Folder for JSON reports | reports |
| cert_dir | NEW: Folder for downloaded certificates | certs |
| timeout | Timeout per network request (seconds) | 60 |
Example config.ini
# cert-checker Configuration File
# Created automatically on first run
[paths]
# Pfad zur URL-Liste (unterstützt ~, / oder relativen Pfad)
urls_file = default_urls.txt
# Pfad zur Log-Datei
log_file = cert-check.log
# Ordner für JSON-Reports
report_dir = reports
# Ordner für heruntergeladene Zertifikate (NEU)
cert_dir = certs
[settings]
# Timeout in Sekunden für Netzwerk-Checks
timeout = 60Automatic Folder Creation
Upon first launch, the following folders are automatically created (if they do not already exist):
~/.config/cert-checker/ (main configuration directory)
~/.config/cert-checker/logs/ (for log files)
~/.config/cert-checker/reports/ (for JSON reports)
~/.config/cert-checker/certs/ (for downloaded certificates)Downloading certificates
Download valid certificates:
./cert-checker -dl
./cert-checker -downloadCommand Line Options
| Flag | Alias | Description |
|---|---|---|
| -f | -file | Path to a local .pem, .crt, .cer, or .key file |
| -c | -cron | Interactive Cron setup |
| -dl | -download | Download valid certificates to certs folder |
| -ls | -list | List and manage Cron jobs |
| -l | -log | Show cron job log file |
| -ci | -ci-mode | CI/CD Mode (non-interactive, uses urls.txt) |
| -w | -web | Start web dashboard on localhost:8080 |
| -cert | Path to SSL certificate file (.pem/.crt) | |
| -key | Path to SSL private key file (.pem) | |
| -h | -help | Display help message |
Other Improvements or Bugfixes
- Updated help
- Code improvements