007basaran

Active Member
Feb 21, 2017
40
6
58
Turkey
cPanel Access Level
DataCenter Provider
Hello all, there is a little problem with whmcs & cpanel.

Previous versions of cPanel used HASH KEY and there was no problem. But cPanel v66 disabled hashkey support.

Remote Access Key - Disabled cPanel v66.

When we try to connect the WHMCS software, we get an error.

ERROR IMG - Whmcs : Screenshot - Screenshot

Thanks for help everyone.
Regards.
 

rpvw

Well-Known Member
Jul 18, 2013
1,100
472
113
UK
cPanel Access Level
Root Administrator
Use the API Tokens instead

In WHM they are in Home >> Development >> Manage API Tokens (Make certain that you save your API token in a safe location on your workstation. You cannot access the token after you navigate away from the interface or refresh the API Tokens table.)

In WHMCS you can add the token into Setup > Products/Services > Servers > Edit Server

Manage API Tokens - Version 66 Documentation - cPanel Documentation

Hope this helps
 

007basaran

Active Member
Feb 21, 2017
40
6
58
Turkey
cPanel Access Level
DataCenter Provider
Use the API Tokens instead

In WHM they are in Home >> Development >> Manage API Tokens (Make certain that you save your API token in a safe location on your workstation. You cannot access the token after you navigate away from the interface or refresh the API Tokens table.)

In WHMCS you can add the token into Setup > Products/Services > Servers > Edit Server

Manage API Tokens - Version 66 Documentation - cPanel Documentation

Hope this helps

Hello,

Thanks for reply, i tested this api system but not working :/

Regards.
 

rpvw

Well-Known Member
Jul 18, 2013
1,100
472
113
UK
cPanel Access Level
Root Administrator
I suggest you try again, and revise your settings in WHMCS

I have WHMCS 7.2.3 and it connects to cPanel/WHM 66.0.23 without any problems :-D
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

We deprecated the remote access key feature in cPanel 64 in favor of API tokens:

Manage API Tokens interface
In cPanel & WHM version 64, we added the Manage API Tokens interface (Home >> Development >> Manage API Tokens) to WHM. This interface allows you to create, revoke, and list API Tokens for cPanel users and third-party developers. API tokens allow cPanel users and third-party developers to run API functions as a WHM account owner via a key hash.

In cPanel & WHM version 64, we also added the Manage API Tokens interface (Home >> Development >> Manage API Tokens) to cPanel DNSONLY.

For more information, read our Manage API Tokens documentation.
However, you can still generate a remote access key using the following WHM API 1 function:

WHM API 1 Functions - get_remote_access_hash - Software Development Kit - cPanel Documentation

EX:

Code:
whmapi1 get_remote_access_hash username=user generate=1 password=12345luggage host=hostname.example.com
Thank you.