Hello jjmm,
I installed tor today - no chance that this is causing the problem. Doing some reseach on the ssl problem, it could be that there is another web server trying to answer port 443. I have ruby on rails installed. Nginx was on the machine, but I removed that and purged it too, so it can't be that.
Kind regards