Configuring SSL for Hosting Controller API and WHMCS Integration

Configuring SSL for Hosting Controller API and WHMCS Integration
Overview: To configure their HC APIs communicating with WHMCS on a secure remote channel is desired. To fulfill this task, follow these simple steps that will help to enable SSL connection for HCAPI and configure WHMCS to communicate securely.
Step 1: Adding Hostname in IIS for Hosting Controller API:
  1. Access your IIS (Internet Information Services) Manager.
  2. Locate the "Hosting Controller API" website.
  3. Add the hostname for SSL connection. This can typically be done by:
  • Right-clicking on the website.
  • Selecting "Edit Bindings."
  • Clicking "Add" to add a new binding.
  • Entering the hostname and selecting the SSL certificate.
  • Clicking "OK" to save the changes.

4. Navigate to Hosting Controller installation path (e.g., C:\Program Files\Hosting Controller), run Config.exe as an administrator, and enter the new API URL for HCAPI site in its binding.

5. In HC Panel, go to Configurations > Server Manager > Control Servers. Edit the API URL, enter the complete URL with "https" and port, then save.

Step 2: Configuring WHMCS:
  1. Log in to your WHMCS admin panel.
  2. Navigate to the "Add Server" page (typically found under Settings > System Settings > Servers).
  3.  In the "IPAddress" field, provide the SSL-enabled hostname that was added in the bindings of the "Hosting Controller API" website in IIS.
  4. Check the box labeled "Secure" at the bottom of the page.
Test the connection between WHMCS and the HCAPI after making changes to ensure everything is functioning correctly. If you encounter any issues or need further assistance, feel free to contact