> For the complete documentation index, see [llms.txt](https://docs.uxwizz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uxwizz.com/guides/troubleshooting/dashboard/license-says-invalid.md).

# License says "invalid"

### Problem:

Setting your license key in the dashboard doesn't work, resulting in a red message with the text "Invalid license key".

### Cause:

There are two common causes:

1. You have the wrong variant installed (e.g. WordPress instead of regular, or trying to update a regular version trial to an Agency version).
2. Your server can not contact the UXWizz license server due to outdated HTTPS certificates.

{% hint style="info" %}
If something doesn't work as expected, the quickest way to see what the problem is is to check your server's **error.log** file for more information.
{% endhint %}

### Solution:

For case #1 (wrong version) please contact support, and you will receive two files to replace in your UXWizz installation to force-request the correct version when checking the license.

#### For case #2: The requests to the license server are blocked.

This can happen for several reasons:

1. A firewall or security plugin on your server is blocking external requests.
2. The request fails because the HTTPS certificates list is outdated on your server.

{% hint style="warning" %}
Make sure there is no firewall blocking outgoing requests from your server to the UXWizz download server (allow requests to the **license-api.uxwizz.com domain)**
{% endhint %}

**The PHP ca-bundle.crt file might be outdated on your server**.&#x20;

More specifically, it might miss the "ISRG" certificate entry (which is used by Let's Encrypt that is used for the HTTPS certificate on the UXWizz license server).\
The ca-bundle used is specified in **php.ini** in the \[openssl] section:

![](/files/TTIEL4QRPQOui33RYsEx)

If a path is set, you can try updating the certificates list file with a recent one available online: <https://curl.se/docs/caextract.html> ( **cacert.pem** )\
Here is the same one, but with the same file name as you need: <https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt>

{% hint style="warning" %}
You should backup the existing file **ca-bundle.crt** file before replacing.
{% endhint %}

\
You can also try to update the OS-level list of certificates (eg. **sudo update-ca-certificates** if you have an Ubuntu server).
