I am currently running OS X Version 10.9.5 (Mavericks). In the past I installed OS X server and had to sign some certificates so that users could authenticate with the VPN function (which is what I mostly used the server for), and later I removed OS X server from the OS.
However, upon further inspection some months later, I noticed that there were still traces of those certificates and/or services were still running unnoticed. I did an nmap scan against my machine to reassure myself that my observations were indeed correct. And correct they were. Here's the scan: http://pastebin.com/raw.php?i=B3vbG8q6
So I looked around the web for some answers... came across a few that said I should remove the certificates from my Keychain Access, which I tried. That didn't work, got the same exact nmap scan result.
Then I thought that maybe there was a process (or processes) running that related to those open ports. In terminal I did:
sudo lsof -i :625
sudo lsof -i :636
and same with ports 749 and 3659 to get the processes that were associated with them.
Then I did:
sudo kill -9 PID
but it became apparent that those were persistent processes after conducting another nmap scan and further lsof -i commands, only to find myself looking at different numbers under PID :/
My desired result is for the mmap scan to not show any traces of there being a server on my system, or even a server installed in the past. I've looked everywhere and the very few clues that I've found didn't get me what I need.
Any help would be appreciated. Thanks in advance.