Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How to configure SSL on Apache for Windows?

Posted on 2009-06-30
Medium Priority
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?
Question by:toshi_
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

Expert Comment

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

Regards Aamodt
<IfModule mod_ssl.c>
    Include conf/ssl.conf

Open in new window


Author Comment

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

Accepted Solution

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

Expert Comment

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

Expert Comment

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

Well hope it works out for you

Good luck

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

650 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