![]() ![]() I also advise you add the following lines to your. You can add as many virtual hosts as you please. Once this has been achieved, simply open nf and add the virtual host you wish to use with the certificate you created. Be sure to verify each virtual host you create is present in the Windows host file (C:/WINDOWS/system32/drivers/etc/hosts). In answer to Robert’s post: simply create your virtual host from the homepage in WAMP. It is people like you who brought me to where I am today. You are great “OH MIGHTY ONE” and I very much appreciate your sharing your knowledge and experience with the world. After I read your tutorial, I was able to configure WAMP within 5 minutes and it worked on the first run. I have a near photographic memory and need only read material once. That is until I found your excellent tutorial. Before I started to install OpenSSL on the WAMP server, I researched a number of instructions and none worked. Since OpenSSL began to appear, I began to force redirect all http traffic to the https port. When writing applications for the Web I do a great deal of work with MOD_REWRITE to enable advanced security features and to protect the paths visible in the browser. I work on all major platforms and recently took up WAMP on Windows 10 to test my work (love it). As such, my field of knowledge must include a vast array of disciplines. I am a self-taught cgi engineer and webmaster who specialized in Perl early on, in 1997. You'll now see the website over https.Įxcellent tutorial and your instructions are on point. If you are using Chrome browser then click on the advanced link at the bottom and then Proceed unsafe. You'll get a security warning which is because we are usign the self signed certificate. Options Indexes FollowSymLinks MultiViews Similarly after taking a backup of C:\wamp\bin\apache\apache2.4.9\conf\extra\nf file replace the code inside it with below one. SSLCertificateKeyFile "c:/wamp/ssl-certs/servernopass.key" SSLCertificateFile "c:/wamp/ssl-certs/server.crt" Now open the httpd_ssl.conf file, delete all the code inside it (we are assuming this is the first time you are setting up a SSL on your WAMP server) and paste the below code. You can simply copy and paste it with a different name (httpd_ssl_nf) in the same folder. Now take a backup of C:\wamp\bin\apache\apache2.4.9\conf\extra\httpd_ssl.conf file. Make sure the following line is uncommented by removing the semicolon ( ) from the beginning. Open C:\wamp\bin\apache\apache2.4.9\bin\php.ini in a text editor.Move the last line Include conf/extra/httpd_ssl.conf after the below line ![]() ![]() Similary remove ‘#’ from below lines in same file LoadModule socache_shmcb_module modules/mod_socache_shmcb.so Include conf/extra/httpd_ssl.conf ![]() So it should now look like LoadModule ssl_module modules/mod-ssl.so Remove the comment ‘#’ from the line #LoadModule ssl_module modules/mod-ssl.so
0 Comments
Leave a Reply. |