Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mamp Pro cannot use SSL anymore

I am using Mamp Pro 5 and last week I can set up and using SSL by generated a self-signed certificate.

But today when I am trying to start server again, it is doesn't work anymore. I checked on log files and it said : [Sat Oct 12 13:36:58 2019] [error] (1)Operation not permitted: Init: Can't open server certificate file (path to file)/uf.o.crt

Please let me know how to fix this.

Thanks

This is a screenshot of error log.

like image 613
pors Avatar asked Oct 12 '19 07:10

pors


3 Answers

Move the SSL certificates into the default MAMP certificates folder:

/Applications/MAMP/Library/OpenSSL/certs/

like image 51
Seyed Avatar answered Nov 13 '22 19:11

Seyed


I have experienced the same problem after upgrading MacOS 10.15 Catalina to build 19A602 (security updates from yesterday). I used to store self created SSL Certs in my user folder and apache could not be started any more.

After moving all .crt and .key files into the folder where MAMP itself stores it's automatically generated certificates (which is /Applications/MAMP/Library/OpenSSL/certs) the problem was gone.

Of course you will have to check every single host and re-link certificate files (marked with a red exclamation mark) to make it work - but no need to completely uninstall MAMP

like image 45
mroesele Avatar answered Nov 13 '22 19:11

mroesele


I just solved it by myself and I also got this solutions from developers after I solved it.

What I did is just full uninstall Mamp and try to install it again.

That's all fixed.

like image 1
pors Avatar answered Nov 13 '22 19:11

pors