Some time ago I had this problem and posted about it. Never managed to solve it.
https://discourse.mailinabox.email/t/error-provisioning-ssl-certificate-when-parent-domain-is-pointing-another-server-v0-27/3443/5?u=manuel5cc