Skip to content

Security Commands

These commands help you manage security features, SSL certificates, and related services in the AdminBolt system.

bolt-cli run-auto-ssl

Issues and renews SSL certificates for hosting domains. It issues certificates for active hosting domains that do not have one yet, using the certificate provider set in General Settings (Let's Encrypt by default), and renews auto-renew certificates that have 7 days or less remaining. The panel runs this job daily at 02:30 through the cron entry installed by bolt-cli setup-cron-jobs.

Options:

  • --domain: Limit the run to a single domain
  • --force: Renew every auto-renew certificate regardless of its expiration date

Example:

bash
bolt-cli run-auto-ssl --domain=example.com

bolt-cli ssl-health-check

Checks the health and validity of SSL certificates.

Example:

bash
bolt-cli ssl-health-check

bolt-cli run-security-scan

⚠️ Not available in the current version - this command is not present in the current CLI. Kept for reference.

Runs a comprehensive security scan on the system.

Example:

bash
bolt-cli run-security-scan

bolt-cli firewall

Manages firewall rules, allowing you to control port access and security zones.

Options:

  • --action: The action to perform (allow)
  • --port: The port number to configure
  • --zone: Accepted but not used by the command

Example:

bash
bolt-cli firewall --action=allow --port=80 --zone=public

This command adds an allow rule for a port with --action=allow.