The WebApp Wizard Web development made magical

21May/1070

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 (70) 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
    fake.

  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.


Leave a comment

(required)

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.