Error to connect server because pb with the certificate returned to desktop client


I have Nextcloud installing by Yunohost.
Since the last updating I did, the desktop client said :
The host name did not match any of the valid hosts for this certificate
And it displayed a certificate without any name, just the public key.
When I verified on the browser, the certificate have name and all the information.

Why ? and how to resolve it, please ?
Thank you

I find why there is an error :
the url nextcloud was protected by login page of yunohost

So I’ve added the right for visitors to access