Configuring MAMP for SSL

后端 未结 6 543
眼角桃花
眼角桃花 2020-12-02 12:20

Ok fellow coders, I am trying to configure MAMP with SSL on my mac for development purposes. I have read and tried the following instructions:
http://www.emersonlack

6条回答
  •  生来不讨喜
    2020-12-02 13:12

    I just ran into the same problem but was able to fix it.

    I'm running; Mac OS 10.6.7 MAMP 1.9.4

    I have only read the tut from webopius which does a good job but it missed something.

    I changed in the httpd.conf

    Listen 80 not Listen 127.0.0.1:80

    I also forgot to run this in the terminal
    cp server.key server.tmp
    openssl rsa -in server.tmp -out server.key

    That removes the password needed to use the key, which if you don't start apache in the terminal, then you can't enter the pass phrase for the cert.

    What you can do is, run this command to start apache for MAMP and see if any errors pop out.

    sudo /Applications/MAMP/Library/bin/apachectl start

    Ok, think that covers about it.

提交回复
热议问题