Solved

How to configure SSL on Apache for Windows?

Posted on 2009-06-30
5
403 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 Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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