

Mamp Pro Ssl Professional Web Developer
Click the checkbox next to SSL, and navigate to our SSL certificate, key, and chain (under Advanced options) and then click Save : As a professional Web developer you have to test your programs in detail.In MAMP Pro, Navigate to the Hosts tab and select your website. Designed for professional Web developers and programmers, MAMP Pro allows easy installation and administration of their development environment.

In order to edit the file type i, this will put the document into edit mode and you will be able to add info to it, add the following info: Change to your actual email address. From your terminal type: mkdir sslChange directory to the newly created ssl folder: cd sslCreate a file called server.csr.cnf: vi server.csr.cnfThis will create and open the file. It doesn’t have to be called ssl, but it makes sense.
If you do find it, make sure that it is uncommented, meaning that there is no #(hash) in front of it.Next, search for Include /Applications/MAMP/conf/apache/extra/httpd-ssl.confMake sure that this line is also uncommented. Configuring the httpd.conf fileOpen the httpd.conf file and search for: LoadModule ssl_module modules/mod_ssl.soIn newer installations of MAMP, this module is included in the default setup and you won’t find it in the file, if this is the case, you can just carry on. You can also use a shortcut to save and quit by typing :wq and pressing enter.Well done so far, you can check to see if the file are there by typing ls, which will list the contents of the ssl folder.Next, paste the following line into the terminal which will generate a RSA private key: openssl genrsa -des3 -out ~/ssl/rootCA.key 2048Next up, we want to generate a root certificate that will be valid for 1024 days: openssl req -x509 -new -nodes -key ~/ssl/rootCA.key -sha256 -days 1024 -out ~/ssl/rootCA.pemNext, we need to create a private key for the certificate by entering: openssl req -new -sha256 -nodes -out server.csr -newkey rsa:2048 -keyout server.key -config /MAMP/conf/apache/httpd.conf/Users//MAMP/conf/apache/extra/httpd-ssl.confIt would be wise to make a backup of your files before making any changes. Vi v3.extAdd the following info: authorityKeyIdentifier=keyid,issuer basicConstraints=CA:FALSE keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment subjectAltName = DNS.1 = localhostSave and quit.

Localhost:443 is the default port and will probably just display localhost in the browser. Stop your MAMP server and start it again for the changes to take effect and visit localhost:443 in the browser to see if it works.
