Puvox – Blog
  • HOMEPAGE
  • Mobile & Android
  • Browser
  • Plugin
  • Technology
  • Trading programming
  • Website
  • Windows & Software
  • WordPress

Puvox – Blog

Recent Posts

  • Debloat Windows 11/10 with debloaters
  • Configure VPS with details & LAMP
  • Necessary steps to secure your digital life
  • Add user & ssh key in Linux/Ubuntu
  • Install Redis Cache for PHP-8

Recent Comments

  • PHP-8 (zts) & Apache & Swoole/Parallel (+ WordPress) with Docker/ PhpBrew – Puvox – Blog on Install Redis Cache for PHP-8
  • Constantin on Remove (exit) “SmartImage” on Philips Monitor
  • Docker & PHP-8 (zts) & Apache & Swoole+Parallel – Puvox – Blog on Useful commands for docker (Windows)
  • Docker & phpBrew (php-7 zts) & WordPress – Puvox – Blog on PHP-8 (zts) & Apache & Swoole/Parallel (+ WordPress) with Docker/Ubuntu/PhpBrew
  • Hajra on Migrate/Redirect Blogspot without loosing SEO Rank

Archives

  • April 2022
  • December 2021
  • July 2021
  • June 2021
  • December 2020
  • October 2020
  • July 2020
  • May 2020
  • February 2020
  • January 2020
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • January 2019
  • September 2018
  • August 2018
  • June 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • January 2017
  • December 2016
  • December 2013
  • January 2013

Categories

  • Browser
  • Coding
  • Health
  • Information & How to tutorials
  • Mobile & Android
  • Plugin
  • Technology
  • Trading programming
  • Video
  • Website
  • Windows & Software
  • WordPress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

WAMP – Install SSL/HTTPS

  • Browser
  • Coding
  • Website
  • Windows & Software

Here we wrote ALL NECESSARY STEPS, to explain how to install SSL & use HTTPS on WampServer  (just change red words to your actual path) :

  1. Click in tray WAMP > Apache > Apache Modules and check socache_shmcb_module (wait for restart and do the same for ssl_module ).
  2. Open CMD and execute these commands one-by-one (if asked, type i.e. abcd for password-phrase).
    cd c:\wamp\bin\apache\apacheX.X.XX\bin
    (echo [ my_req_ext ] && echo subjectAltName = DNS:localhost, DNS:*.localhost, IP:127.0.0.1) >> ..\conf\openssl.cnf
    openssl genrsa -aes256 -passout pass:ABCDE -out mypriv.key 2048 && openssl rsa -in mypriv.key -passin pass:ABCDE -out mypriv.key
    openssl req -new -x509 -nodes -sha1 -key mypriv.key -out mycert.crt -days 44444 -config ..\conf\openssl.cnf -extensions my_req_ext -subj "/C=US/ST=Distributed/L=Cloud/O=Cluster/CN=localhost"
    
    copy mypriv.key ..\conf\mypriv.key /y && copy mycert.crt ..\conf\mycert.crt /y
  3. (Don’t close CMD). Now in Windows, go to folder: c:\wamp\bin\apache\apacheX.X.XX\conf, open httpd.conf and :
     A) Below line Define APACHE_DIR if there is not already Define SRVROOT, then add this:
    Define SRVROOT ${APACHE_DIR}/
     B) find & uncomment this line:
    Include conf/extra/httpd-ssl.conf
  4. In conf\extra\httpd-ssl.conf file find
    <VirtualHost _default_:443>, and below it re-set :

    DocumentRoot "${INSTALL_DIR}/www"
    ServerName localhost:443
    ...
    ...
    SSLCertificateFile "${SRVROOT}/conf/mycert.crt"
    ...
    SSLCertificateKeyFile "${SRVROOT}/conf/mypriv.key"
  5. Save file (before closing cmd, type httpd -t to ensure the syntax has no errors) and Restart WAMP-server.
  6. We should disable warning for our “self-signed” certificate. In browser, go to address chrome://flags/#allow-insecure-localhost and set that to enabled, and restart Browser.

THAT’S ALL! Open any https:// address now (btw, if someone gets a red warning of browser, click “Proceed” there).

BTW: If anyone creates .bat file to automate all of this, I will integrate into article.
Let us know if that helped you.

January 4, 2019

Post navigation

Chart Debugger Window (PrintBox, like DataBox) for NinjaTrader → ← Ticks (amount) or UpTicks/DownTicks indicator ( ThinkOrSwim )

2 thoughts on “WAMP – Install SSL/HTTPS”

  1. Dimitrios says:
    March 2, 2019 at 10:04 am

    Hello,
    Nice guide. Is it possible to write another one, specifically for Let’s Encrypt, WAMP 3.17.xx and Apache 2.4.xxx on Windows???
    Thank you!
    DK

    Reply
  2. Garmur says:
    June 21, 2019 at 5:06 pm

    Over step 4: certificate key must be SSLCertificateKeyFile

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Browser
  • Coding
  • Health
  • Information & How to tutorials
  • Mobile & Android
  • Plugin
  • Technology
  • Trading programming
  • Video
  • Website
  • Windows & Software
  • WordPress
Copyright © 2019 | Puvox Software