i get this message “The certificate does not correspond to the private key at /home/user-data/ssl/ssl_private_key.pem.” after moving my box from one server to another VPS.
Maybe not the BEST fix, but the simplest fix is to remove the contents of the ssl directory /home/user-data/ssl - NOT THE DIRECTORY ITSELF - just the contents and then run ~/mailinabox/management/ssl_certificates.py
Be sure to make a backup somewhere of what you are removing before you actually remove it.