added option to disable ssl verification

This commit is contained in:
2025-12-20 07:16:00 +01:00
parent 19d3ba4fa3
commit 1ffcbf09dc
3 changed files with 19 additions and 2 deletions

View File

@@ -68,6 +68,9 @@ OPNSENSE_HOST=https://your-opnsense.local
# Optional
OUTPUT_DIRECTORY=./certs
# Optional: disable SSL verification for self-signed certificates
# VERIFY_SSL=false
# Optional: file permissions (Linux only)
# FILE_OWNER=root
# FILE_GROUP=root
@@ -82,6 +85,7 @@ OUTPUT_DIRECTORY=./certs
| `OPNSENSE_API_SECRET` | Yes | OPNsense API secret |
| `OPNSENSE_HOST` | Yes | OPNsense URL (e.g., `https://192.168.1.1`) |
| `OUTPUT_DIRECTORY` | No | Directory to save exported certificates (default: `./certs`) |
| `VERIFY_SSL` | No | Set to `false` to disable SSL verification for self-signed certs (default: `true`) |
| `FILE_OWNER` | No | Set file owner (Linux only) |
| `FILE_GROUP` | No | Set file group (Linux only) |
| `FILE_MODE` | No | Set file permissions in octal (e.g., `0600`) |