I stopped mailinabox from requesting a certificate, waited 24 hours and then tried again and it worked. Finally! Thanks.
mailinabox