ferethemes.blogg.se

Mamp pro ssl
Mamp pro ssl






mamp pro ssl

$ vi /Applications/MAMP/conf/apache/ssl.confĪnd then you Edit the DocumentRoot path to point to the location of your site. Now you will need to navigate to MAMP’s apache configuration directory and make a couple of directories for your SSL certificate and key:ġ. Once you have these GUI changes made, it’s time to get down and dirty in the terminal.įire up your terminal of choice, mine is still iTerm even though the Terminal in leopard is much improved. This needs to be a port under 1024, eg 80, for MAMP to run under a privileged account so the default SSL port of 443 can properly bind. By default the port under Server / General is configured with the default port of 8888. Next, you need to switch your MAMP to use the regular HTTP port. This will display a new hidden checkbox called SSL, now you can just enable this checkbox and it will trigger the SSL “If” blocks in the apache config. In the GUI, under the Servers tab, hold down Option when you click the Apache tab. For this you have to use a little trick my buddy David Lewis told me about. Setting it all upįirst things first, you have to tell the MAMP Pro that you want the SSL configuration to start up when you start the servers. Here’s the steps I went through that allowed me to get this working and even automatically enabled via the MAMP Pro GUI.

MAMP PRO SSL HOW TO

You would think this would be really easy, but it turns out that there’s no clear documentation on how to get MAMP Pro to work with SSL. This is a re-post of a blog entry from Rocketwerx








Mamp pro ssl