Apache HTTP Server - verify the integrity

Posted on 2006-06-08
Last Modified: 2010-03-04
Hi there,

  I am trying to install Apache Http server on my Windows XP environment. the instruction on Apache site mentions "It is essential that you verify the integrity of the downloaded files using the PGP or MD5 signatures.", I have no clue how to do this in windows. can someone give me a step by step instruction?

  Any help will be greatly appreciated.

Question by:notaexpert
    LVL 31

    Expert Comment

    Step by step instructions are at
    LVL 31

    Expert Comment

    But you can skip that if you want...I did. If you trust that the file is uncorrupted.
    LVL 31

    Expert Comment

    1) Download md5 from: or

    2) Open the zip file & extract to C:\md5

    "It is essential that you verify the integrity of the downloaded files using the PGP or MD5 signatures."
    OK, we'll use MD5 here. Now it says "Make sure you get these files from the main distribution directory, rather than from a mirror"

    3) First two are optional, we'll just use the third file here (the md5 one):

    (be sure to save the md5 file into the same folder as the md5 program above, i.e. c:\md5)

    4) Download the Win32 Binary (apache_2.2.2-win32-x86-no_ssl.msi) from a mirror:

    5) Then
    -Go to command prompt (Start, Run, cmd)
    -Type this & press enter: cd c:\md5
    -Type this & press enter: md5 -csignature apache_2.2.2-win32-x86-no_ssl.msi.md5

    If you want, you can do steps 3 to 5 for the   & files.

    LVL 31

    Expert Comment

    Corrections! It's a bit more complex that I thought. But I tested the solution below:

    Download that file from step 4 into this folder: c:\md5
    Can download to other folder, but this will make things a bit easier.

    5) Forget step 5 above, replace with this:
    Open up notepad (Start, Run, notepad), and copy the lines below into the new file, and save the file as "c:\md5\testapac.bat"
    BUT YOU MUST click the apache_2.2.2-win32-x86-no_ssl.msi.md5 link above, copy 32-byte code that appears, and replace <copy your code here> below with that code (make sure to put the code after the "-c", with no space and no "<" or ">")
    :: Start batch file
    @echo off
    ::md5 -cd372bb76e336c497d9a90248f42581cc apache_2.2.2-win32-x86-no_ssl.msi
    md5 -c<copy your code here> apache_2.2.2-win32-x86-no_ssl.msi
    if errorlevel 2 goto :ERROR
    if errorlevel 1 goto :NOMATCH
    if errorlevel 0 goto :MATCH
    echo Error: Could not process
    goto :EOF
    echo Signitures do NOT match!
    goto :EOF
    echo Signatures MATCH :)
    :: End batch file

    - Go to command prompt (Start, Run, cmd)
    - Type & hit enter: cd c:\md5
    - Type & hit enter: testapac

    7) It will tell you whether the signatures match or not.

    : )
    I can make it a bit easier, but this has taken too much of my time & would take more to simplify it. It will work as I've given it though.
    LVL 31

    Accepted Solution

    OK here's how to make it easier (why didn't apache say this in the first place? LOL): Just get a Windows version of an MD5 checker, such as:     Download MD5 Checker 2.20 - MD5 Checker - free utility to verify downloads with an MD5 checksum - Softpedia

    With that, you don't need to do steps 5 & 6 -- With the checker you just select the file, and it computes the md5 hash. You can then compare that hash value with the value in the apache_2.2.2-win32-x86-no_ssl.msi.md5 file.  And you're done if the values match.

    Author Comment

    Thanks callrs for all your input, especially all the time you spent in order to help me out. I am going to try what you suggested later (I am outside my office today).

    I'll let you know the result.

    Thanks a lot!!!

    Author Comment

    callrs, it works perfectly. Thanks for your help.
    LVL 31

    Expert Comment

    Welcome. But to really thank me, be kind to the earth that made me possible lol: compost, have organic yard, inform yourself ...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting ( to http…
    If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    760 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

    14 Experts available now in Live!

    Get 1:1 Help Now