/HestiaCP-WHMCS-Module

HestiaCP WMHCS Module

Primary LanguagePHP

HestiaCP-WHMCS-Module

HestiaCP WMHCS Module
The module uses the recommended access/secret keys authentication.

Supported Functions

Create Account (user and domain)
Suspend Account.
Unsuspend Account.
Change Password.
Change Packages.
Terminate Account.
Install LetsEncrypt SSL.

Prerequisites

Your WHMCS server must be open to your hestiacp server port (8083) for outgoing requests.
Go to Server settings > Security > System in your hestia panel:
Enable API access => Enabled for all users.
Enable legacy API access => No.
Allowed IP addresses for API => 0.0.0.0.
Enable LetsEncrypt Installation command for admin access keys by adding v-add-letsencrypt-domain to the list of commands here: /usr/local/hestia/data/api/billing

Installation

Download code and upload to modules/servers/hestia. make sure hestia directory exists, create one if not.

How to set up server details

In WHMCS server settings:
Module => HestiaCP.
Username => admin username (optional).
Password => admin password (optional).
Access Hash => access_key:secret_key. (required)