Conflict Roundcube / Custom Webapp

:uk:
I did what I described in the previous post, and asked YUnoHost to modify my DNS records.
Everything went fine.

I now have this YUnoHost configuration:

Each of these (sub)domains has its own Let’s Encrypt certificate (obtained through the YUnoHost web interface).

And I have two users:

By typing webmail.mondomaine.fr in my web browser, after identification I get the Roundcube interface.
I’m receiving and sending e-mails without any problem at the moment.

But I can’t import my old emails with mbsync/isync (more details in Sauvegarde boite mail) :

Error, certificate owner does not match hostname webmail.mondomaine.fr

and Thunderbird complains:

Wrong site
The certificate belongs to a different site

It seems that mbsync/isync and Thunderbird are using the wrong certificate. How can I solve this problem?


:fr:
J’ai fait ce qui est décrit dans le message précédent, et ai demandé à YUnoHost de modifier mes enregistrements DNS.
Tout s’est bien passé.

J’ai maintenant cette configuration YUnoHost :

Chacun de ces (sous)domaines a son propre certificat Let’s Encrypt (obtenu via l’interface web de YUnoHost).

Et j’ai deux utilisateurs :

En tapant webmail.mondomaine.fr dans mon navigateur internet, après identification j’obtiens l’interface Roundcube.
Je reçois et envoie des courriels sans problème pour le moment.

Mais je ne parviens pas à importer mes anciens courriels avec mbsync/isync (plus de détails dans Sauvegarde boite mail) :

Error, certificate owner does not match hostname webmail.mondomaine.fr

et Thunderbird se plaint :

Wrong site
The certificate belongs to a different site

Il semble que mbsync/isync et Thunderbird n’utilisent pas le bon certificat. Comment résoudre ce problème ?

Cobus.