Configuring MAMP for SSL

后端 未结 6 540
眼角桃花
眼角桃花 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 12:49

    It's Very Difficult way for https here is simple way.

    Open MAMP Pro.

    1. In Server Tab Make Sure Your HTTP Port is 80 and HTTPS Port is 443
    2. Click on Hosts Tab
    3. Click On Plus Arrow for add new host.
    4. Add 127.0.0.1 As Hostname
    5. Click SSL Enable
    6. Select Directory Where is your htdocs or websites folder
    7. Click on SSL Tab
    8. Create Self Signed Certificate By Button Below.
    9. Then it will ask for save location after save it will select certificate auto.
    10. Restart your MAMP Server.

    Enjoy!!!!

    Type : https with localhost then you can see result.

    Next

提交回复
热议问题