Installation CVX licence not valid mac

Hi everyone,
I’ve recently tried installing CVX in Matlab but there is a problem with the licence. I placed cvx in the MATLAB folder as in the guide however I get these errors.
I have disabled the security features of MacOS, so now I am not shown the option of ‘Cancel’ or ‘Move to trash’ and the installation procedes, however due to the licence problem I was not able to install mosek or gurobi.

cd ~/MATLAB/cvx
cvx_setup


CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020

Installation info:
Path: /Users/lorenzodeluca/MATLAB/cvx
MATLAB version: 9.11 (R2021b)
OS: Mac OS X x86_64 version 10.15.7
Java version: 1.8.0_202
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
/Users/lorenzodeluca/MATLAB/cvx/sedumi/.travis.yml
These omissions may prevent CVX from operating properly.
Preferences:
Path: /Users/lorenzodeluca/Library/Application Support/MathWorks/MATLAB/cvx_prefs.mat
License host:
Username: lorenzodeluca
Host ID: b8e85608f01a (en0,172.22.217.29)
Installed license:
No license installed.
No valid licenses found.
Click here to fill out an academic license request
for the username and first hostid listed above.

Setting CVX paths…already set!
Searching for solvers…5 shims found.
2 solvers initialized (* = default):

  • SDPT3 4.0 {cvx}/sdpt3
    SeDuMi 1.3.4 {cvx}/sedumi
    3 solvers skipped:
    GLPK
    Could not find a GLPK installation.
    Gurobi unknown {cvx}/gurobi/maci64
    No valid Gurobi license was found.
    Mosek 9.1.9 {cvx}/mosek/maci64
    Using MOSEK with CVX requires an academic MOSEK license
    or a MOSEK-enabled CVX Professional license.
    Saving updated preferences…done.
    Testing with a simple model…done!

To change the default solver, type “cvx_solver <solver_name>”.
To save this change for future sessions, type “cvx_save_prefs”.
Please consult the users’ guide for more information.

I even used the licence generator but still was not able to proceed since I get this message:

cvx_setup ~/MATLAB/cvx_license.dat


CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020

Installation info:
Path: /Users/lorenzodeluca/MATLAB/cvx
MATLAB version: 9.11 (R2021b)
OS: Mac OS X x86_64 version 10.15.7
Java version: 1.8.0_202
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
/Users/lorenzodeluca/MATLAB/cvx/sedumi/.travis.yml
These omissions may prevent CVX from operating properly.
Preferences:
Path: /Users/lorenzodeluca/Library/Application Support/MathWorks/MATLAB/cvx_prefs.mat
License host:
Username: lorenzodeluca
Host ID: b8e85608f01a (en0,172.22.217.29)
File: ~/MATLAB/cvx_license.dat
Also in file: /Users/lorenzodeluca/MATLAB/cvx_license.dat
Organization: Politecnico di Torino
Contact: Lorenzo Nicolò De Luca (s303521@studenti.polito.it)
License type: academic
Named user: lorenzodeluca
Host ID: b8e85608f01a
Expiration: 2024-10-25 (366 days remaining)
Status: INVALID:SIGNATURE
* The digital signature in the license file could not be verified.
* License files cannot be edited to make corrections or additions.
* A new license must be obtained with a valid signature.
No valid licenses found.
Click here to fill out an academic license request
for the username and first hostid listed above.

Setting CVX paths…already set!
Searching for solvers…5 shims found.
2 solvers initialized (* = default):

  • SDPT3 4.0 {cvx}/sdpt3
    SeDuMi 1.3.4 {cvx}/sedumi
    3 solvers skipped:
    GLPK
    Could not find a GLPK installation.
    Gurobi unknown {cvx}/gurobi/maci64
    No valid Gurobi license was found.
    Mosek 9.1.9 {cvx}/mosek/maci64
    Using MOSEK with CVX requires an academic MOSEK license
    or a MOSEK-enabled CVX Professional license.
    Saving updated preferences…done.
    Testing with a simple model…done!

To change the default solver, type “cvx_solver <solver_name>”.
To save this change for future sessions, type “cvx_save_prefs”.
Please consult the users’ guide for more information.

I dont know why cannot find the licence because I even looked at the files and the licence was present.
I can see my name on the top right corner when I’m using matlab
Can somebody help me?

same problem,!!! Mosek_3 9.1.9 C:\Program Files\Mosek\10.1\toolbox\r2017a
Using MOSEK with CVX requires an academic MOSEK license
or a MOSEK-enabled CVX Professional license. Commercial

If you have Mosek set up correctly with a Mosek license and you tested it stand-alone (outside of CVX) then it will also work in CVX.