Solved

How to configure SSL on Apache for Windows?

Posted on 2009-06-30
5
399 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Learn about cloud computing and its benefits for small business owners.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

17 Experts available now in Live!

Get 1:1 Help Now