Recently we wanted to start XAMPP with ssl support so that some work we were doing for a client could be realized as if using an https connection. The documentation says that in order to start with ssl you must use:
sudo /Applications/XAMPP/xamppfiles/xampp startssl
Problem is that it gave us an “unknown command or add-on!” error. So we determined that you first need to enable ssl support with the following command:
sudo /Applications/XAMPP/xamppfiles/xampp enablessl
After which, startssl still doesn’t work. However, if you just start Apache in XAMPP as normal, SSL will then function in your browser.