Configuring Apache Web Server for SSL Operation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Configuring Apache Web Server for SSL Operation

Teo En Ming
This article is written by Turritopsis Dohrnii Teo En Ming on 24 Jul
2017 Monday at 9:50 PM SGT

Using Apache 2.4.27 for Windows with VC 15 (Visual C++ 2017)

Step 1. Edit httpd.conf

LoadModule ssl_module modules/mod_ssl.so

LoadModule socache_shmcb_module modules/mod_socache_shmcb.so

Include conf/extra/httpd-ssl.conf

Step 2. Set Windows 10 environment variable

set OPENSSL_CONF=C:\Apache24\conf\openssl.cnf

Step 3. Execute openssl.exe

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key
-out server.crt

Step 4. Move server.key and server.crt

Move above files to C:\Apache24\conf

Step 5. Start Apache web server with Secure Socket Layer (SSL)

httpd

Mr. Turritopsis Dohrnii Teo En Ming
Singapore Citizen

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...