The WebApp Wizard Web development made magical


Apache, SSL and private key passphrase on Windows

Today, I solved a problem that has bothered me the past few days...

I won't enter in detail in the whole Apache/SSL configuration, but rather focus on this particular problem: have you ever tried to install an SSL certificate on your Apache 2.2 web server? Typically, you'll have to generate a private key file (yourdomain.key), then a CSR (Certificate Signing Request). While you generate the private key, you will be asked for a passphrase. This passphrase will be asked later to Apache. If Apache doesn't answer, it won't start...

So how to make Apache happy? You have to tell him where to find the passphrase. How? Use SSLPassPhraseDialog directive. But first, create a passphrase.bat file containing the following:

@echo your passphrase

Then, simply add/edit the following:

SSLPassPhraseDialog "exec:C:/path/to/your/passphrase.bat"

This will cause Apache to execute the passphrase.bat file, giving him the private key passphrase.

And you're ready to go. ;-)

Comments (77) Trackbacks (0)
  1. To make certain you are enjoying to the max, we are adding new adictive totally free games
    just about every day, check what is games are hot!!

  2. Find and defeat the Poe here to get a piece of Jovani’s soul.
    Turn free movement back on and they’ll follow you forward.

    Don’t be discouraged if they don’t all get it right away.

  3. Hello there, just became alert to your blog through Google, and found that
    it is truly informative. I am gonna watch out for brussels.
    I will be grateful if you continue this in future. A lot of people will be benefited
    from your writing. Cheers!

  4. Quality articles is the important to attract the users to visit the site,
    that’s what this web site is providing.

  5. I enjoy what you guys are up too. This sort of clever work and coverage!
    Keep up the wonderful works guys I’ve you guys to blogroll.

  6. This piece of writing is really a pleasant one it assists new web
    people, who are wishing for blogging.

  7. Das ist auch der Grund, warum Ingmar Bergmans Film Das Schweigen großes Aufsehen erregte.

  8. Du wirst sehen, wie heiß diese Girls sind.

  9. All Clash of Kings Cheats are actually not totally free.

    You can cheat only if you have adequate cash to afford
    the cheats.

  10. The games that you will find right here, are exciting
    games, adictive games and complete of action and entretaiment,
    for children, girls and not that youngsters.

  11. It doesn’t seem to have performed sales a lot harm, simply
    because Super Mario Run downloads have soared, according to CNBC.

  12. This online Clash of Kings mod is absolutely free and simple to use.

  13. Collect equivalent infrastructures in a single spot so you can retain track of upgrades quickly.

  14. Available on both iOS and Android devices, you can ultimately reside your dream as
    a medieval ruler of a vast and ever-expanding world!

  15. You have waited long adequate for this: 1 Piece Burning Blood will launch September 2nd on Steam!

  16. Because Nintendo has yet to push-out Super Mario Run to the Google Play Store, these APK databases are nearly always

  17. die einfache Wahrheit, die reine Wahrheit und die lautere Wahrheit.

  18. Die übrigen Innendrehs erfolgen zwei Studios, wo sämtliche Wohnungseinrichtungen mittels verschiebbarer Wände nachgestellt wurden.

  19. Liebste , flüstert er leise.

  20. Zusätzlich zu unseren Escortdamen machen unsere günstigen Preise die Verlockung noch größer.

  21. Des Weiteren wird jede Kontaktanzeige uns auf deren Inhalt und Echtheit überprüft, um Ihnen die größtmögliche Sicherheit bieten zu können.

  22. Attractive portion of content. I simply stumbled upon your blog and in accession capital to claim that I get in fact enjoyed account your blog posts.
    Any way I’ll be subscribing in your augment or even I achievement you get entry to persistently quickly.

  23. Having read this I believed it was extremely informative.

    I appreciate you spending some time and effort to put this content
    together. I once again find myself personally spending a significant
    amount of time both reading and leaving comments. But so what,
    it was still worth it!

  24. Ich mache dich gerne fertig, wenn du es möchtest.

  25. private frauen bilder Sie hatte es geahnt.

  26. Hi, I think your blog might be having browser compatibility
    issues. When I look at your blog site in Ie, it looks fine but when opening in Internet Explorer, it
    has some overlapping. I just wanted to give you a quick heads up!
    Other then that, excellent blog!

Leave a comment


You can use basic HTML to enlighten your comments. If you want to post some code, please use the <pre> tag. You can also use syntax coloring by adding class="syntax [language]". <pre class="syntax js"> will color your code as if it was JS code for instance.

No trackbacks yet.