# Fixing the WHM/cPanel "Invalid License File" error

Source: <https://beta.dedicated.com.tr/en/kb/whm-cpanel-invalid-license-file-error>  
Last updated: 2026-11-28

If WHM or cPanel shows an **Invalid License File** error, connect to your server over SSH and run this command:

```bash
/usr/local/cpanel/cpkeyclt
```

To check whether your licence was bought from a cPanel partner, see [Verifying a cPanel/WHM licence](/en/kb/verifying-a-cpanel-whm-licence).
