[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    Unable to build openssl 0.9.8za with fips module 1.2
From:       Pradeep AV <getpradeep.av () gmail ! com>
Date:       2014-06-25 5:23:17
Message-ID: CAOZ-MEbFNj+h4NAsxYtuoripvGXY99jraiVcxKG1OQ3V-BLMVA () mail ! gmail ! com
[Download RAW message or body]

Hi OpenSSl ,

I have followed the below method . Can you please check if i am following
the correct procedure

=================================
    1. Compile openssl-fips1.2 module
    =================================
        a. Extract the contents of openssl-fips-1.2.tar.gz to
C:\openssl-fips-1.2\  - Success
        b. Open Visual Studio 2005 Command Prompt.
        c. cd C:\Pradeep\Builds\openssl\1_2\  - Success
        d. ms\do_fips no-asm  - Success
e. nmake -f ms\ntdll.mak  - Success
f. nmake -f ms\ntdll.mak install  - Success

        Compiled FIPS module is located at
C:\Pradeep\Builds\openssl\1_2\out32dll - Success

    =======================================================
    2. Integrate compiled openssl-fips1.2 in openssl-0.9.8za
    =======================================================
        a. Extract the contents of tar file to
C:\Pradeep\Builds\openssl\0_9_8za
        b. Open Visual Studio 2008 Command Prompt.
        c. cd C:\openssl-1.0.1e-fips-compliant\
        e. perl Configure VC-WIN64A fips
--with-fipslibdir=C:\Pradeep\Builds\openssl\1_2\out32dll  - Success
        f. ms\do_64a - Success
        g. nmake -f ms\ntdll.mak - Success
        h. nmake -f ms\ntdll.mak install - Success
        i. Compiled FIPS compliant OpenSSL exe is located at
C:\Pradeep\Builds\openssl\0_9_8za\out32dll\openssl.exe  - Success
        j. Run C:\usr\local\ssl\bin\openssl.exe and type "version".-
Success
        k. Compiled FIPS compliant OpenSSL fipslibeay32.lib, ssleay32.lib
 are located at C:\Pradeep\Builds\openssl\0_9_8za\out32dll
 However if i run a sample x64 program using the generated library i am
getting the error - The application was unable to start correctly.
Please let me know if i have missed any steps and the reason behind the
error.

Regards,
Pradeep

[Attachment #3 (text/html)]

<div dir="ltr"><div>Hi OpenSSl ,</div><div><br></div><div>I have followed the below \
method . Can you please check if i am following the correct \
procedure</div><div><br></div><div>=================================  </div><div>

      1. Compile openssl-fips1.2 module  </div><div>      \
=================================</div><div>            a. Extract the contents of \
openssl-fips-1.2.tar.gz to C:\openssl-fips-1.2\   - Success</div><div>            b. \
Open Visual Studio 2005 Command Prompt.  </div>

<div>            c. cd C:\Pradeep\Builds\openssl\1_2\   - Success</div><div>          \
d. ms\do_fips no-asm   - Success</div><div><span class="" \
style="white-space:pre">		</span>e. nmake -f ms\ntdll.mak   - Success</div><div><span \
class="" style="white-space:pre">		</span>f. nmake -f ms\ntdll.mak install   - \
Success</div>

<div>       </div><div>            Compiled FIPS module is located at \
C:\Pradeep\Builds\openssl\1_2\out32dll - Success      </div><div>       </div><div>   \
=======================================================  </div><div>      2. \
Integrate compiled openssl-fips1.2 in openssl-0.9.8za  </div>

<div>      =======================================================</div><div>         \
a. Extract the contents of tar file to C:\Pradeep\Builds\openssl\0_9_8za  </div><div> \
b. Open Visual Studio 2008 Command Prompt.  </div>

<div>            c. cd C:\openssl-1.0.1e-fips-compliant\  </div><div>            e. \
perl Configure VC-WIN64A fips \
--with-fipslibdir=C:\Pradeep\Builds\openssl\1_2\out32dll   - Success</div><div>       \
f. ms\do_64a - Success</div><div>

            g. nmake -f ms\ntdll.mak - Success                     </div><div>        \
h. nmake -f ms\ntdll.mak install - Success  </div><div>            i. Compiled FIPS \
compliant OpenSSL exe is located at \
C:\Pradeep\Builds\openssl\0_9_8za\out32dll\openssl.exe   - Success            </div>

<div>            j. Run C:\usr\local\ssl\bin\openssl.exe and type \
&quot;version&quot;.- Success  </div><div>            k. Compiled FIPS compliant \
OpenSSL fipslibeay32.lib, ssleay32.lib   are located at \
C:\Pradeep\Builds\openssl\0_9_8za\out32dll              </div>

<div><span class="" style="white-space:pre">		</span></div><div>However if i run a \
sample x64 program using the generated library i am getting the error - The \
application was unable to start correctly.</div><div>Please let me know if i have \
missed any steps and the reason behind the error.</div>

<div><br></div><div>Regards,</div><div>Pradeep</div></div>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majordomo@openssl.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic