The following will guide you through the process of enabling SSL on a Apache webserver
- The instructions have been verified with macOS Sierra (10.12.5) running Apache/2.4.25
- The instructions assume you already have a basic Apache configuration enabled on OSX, if this is not the case feel free to consult Gist: "Enable Apache HTTP server (OSX)"
Create a directory within /usr/local/etc/apache2/2.4/
using Terminal.app: sudo mkdir /usr/local/etc/apache2/2.4/ssl
Next, generate two host keys: