Quantcast
Viewing all articles
Browse latest Browse all 1501

MAMP 5.06 Windows - Configuring httpd-ssl.conf

I am currently using MAMP on a PC (windows 10), and using Apache as server. I edited the file httpd.conf located in C:\MAMP\conf\apache, and I uncomment the line :

LoadModule ssl_module modules/mod_ssl.so

At the bottom on the file, I added

Include "C:/MAMP/conf/extra/httpd-ssl.conf"

Next I set the Servername to localhost:443

ServerName localhost:443

I save all changes.

Then, in the httpd-ssl.conf file, I've done the following:

Check that listen port is 443 : Listen 443

Set-up virtualHost : <VirtualHost *:443>

DocumentRoot "C:\MAMP\htdocs"    ServerName localhost:443    ServerAdmin admin@example.com    ErrorLog "C:\MAMP\logs\error.log"    TransferLog "C:\MAMP\logs\access.log"

I defined certificat location :

SSLCertificateFile "C:\MAMP\conf\apache\ssl\server_certificate.crt"

and server private key path :

SSLCertificateKeyFile "C:\MAMP\conf\apache\ssl\server_private.key"

Then when I try to start MAMP, it's failed.I found no error on logs files.

Could you help me to solve that ?

Many thanks in advance.

Best regards.


Viewing all articles
Browse latest Browse all 1501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>