Solved

How to configure SSL on Apache for Windows?

Posted on 2009-06-30
5
397 Views
Last Modified: 2012-06-27
I have created a certificate server.crt with his key server.key by following a procedure find on the net. I put them into conf/ssl. I load the ssl.conf in the httpd.conf. What is missing? Or what I did wrong?
httpd.conf.txt
ssl.conf.txt
0
Comment
Question by:toshi_
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:aamodt
ID: 24744620
in that httpd.conf you are commenting out the include of the ssl.conf file :

<IfModule mod_ssl.c>
    #Include conf/ssl.conf
</IfModule>

Regards Aamodt
<IfModule mod_ssl.c>

    Include conf/ssl.conf

</IfModule>

Open in new window

0
 

Author Comment

by:toshi_
ID: 24744827
Yes, sorry. It's because the ssl.conf is not working. With this config file the server won't start.
0
 

Accepted Solution

by:
toshi_ earned 0 total points
ID: 24746387
I replaced the line SSLPassPhraseDialog builtin with this
"exec:C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl/passphrase.bat"

in the passphrase.bat is just this line @echo mypassphrase
0
 
LVL 7

Expert Comment

by:aamodt
ID: 24746426
does the apache console give any error on startup ? if not have you checked if port 445 is listing ? with netstat -an or something..

and checked that https://yourwebpath/ does work/not work ?

Just some checks i want to clearify before i check it deeper. does not seem like its a config fault.

Regards Aamodt
0
 
LVL 7

Expert Comment

by:aamodt
ID: 24746514
Okey thats good, so was nothing wrong just forgot to create the passphrase ? ;)

Well hope it works out for you

Good luck
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now