I recommend that you install Mono from the project website, instead of using apt
. The Mono version in the package managers is usually really old (especially for Debian based distros). Using the old versions mostly works, but later versions are more “user friendly”, e.g. setting up SSL certificates automatically.