I installed Apache and PHP on my system and I can access localhost. I try to set up https://localhost and I followed this tutorial. I tried several tutorials and it doesn't work. As soon as I enable /opt/homebrew/etc/httpd/extra/httpd-ssl.conf it doesn't work (http://localhost and https://localhost) and I don't have any error in the window and in the error_log. I only see:
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Do you have any idea?





