Mailstack - cert problems

I managed to get the mailstack installed and all look OK, but I’m having problems with setting up access on my iPhone. It complains about SSL error and that it cannot verify the identity on mail..com

Any idéas on how to solve this?