Solved

How to configure SSL on Apache for Windows?

Posted on 2009-06-30
5
404 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_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

724 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