Upgrading OpenSSL
NetApp Manageability SDK provides core libraries and OpenSSL libraries.
If you want to upgrade your OpenSSL version, you can download OpenSSL
source code and build the libraries for your applications.
Prerequisites
You must download the latest version of OpenSSL and extract it to a
folder. Perform the following steps to download and extract the latest
version of OpenSSL:
- Download the OpenSSL tarball by entering http://www.openssl.org/source
in your web browser.
- Find the latest version of OpenSSL and save the .tar.gz file.
- Untar the file: gunzip openssl-x.x.x.tar.gz and tar
xvf openssl-x.x.x.tar.
A subdirectory named openssl - x.x.x is created.
Building OpenSSL libraries in Linux, Solaris, HP-UX, and AIX platforms
To build OpenSSL libraries in Linux, Solaris, HP-UX, and AIX platforms,
perform the following steps:
- Change directory: $ cd openssl-x.x.x.
- Configure OpenSSL: $ ./config shared no-krb5 no-rc5 no-idea
no-asm -fno-strict-aliasing.
- Resolve dependencies: make depend.
- Generate OpenSSL libraries: make.
Static libraries libcrypto.a and libssl.a, and dynamic libraries libcrypto.so
and libssl.so are created in the openssl-x.x.x directory.
If you are using the dynamic version of OpenSSL libraries, create a
soft link to the new OpenSSL dynamic libraries to link them with your
application: for example, ln -s libcrypto.so libcrypto.so.x.x.x and
ln -s libssl.so libssl.so.x.x.x.
Building OpenSSL libraries in a Windows platform
To build OpenSSL libraries in a Windows 32-bit platform, perform the
following steps:
- Navigate to the OpenSSL extract folder from the Visual Studio command
prompt.
- Configure OpenSSL: perl Configure VC-WIN32 no-asm no-idea no-rc5
> win-config.out.
The configuration information is saved in the win-config.out file.
- Execute: ms\do_ms.bat.
ms\ssleay32.def, ms\libeay32.def, ms\ntdll.mak, ms\nt.mak and ms\version32.rc
files are generated.
- Generate OpenSSL dynamic libraries: nmake -f ms\ntdll.mak.
New libraries libeay32.dll and ssleay32.dll are created in the openssl-x.x.x/out32dll
directory.
To build OpenSSL libraries in a Windows 64-bit platform, perform the
following steps:
- Navigate to the OpenSSL extract folder from the Visual Studio x64
cross tools command prompt.
- Configure OpenSSL: perl Configure VC-WIN64A no-asm no-idea no-rc5
> win-config.out.
The configuration information is saved in the win-config.out file.
- Ensure that the path for ml64.exe is added to environment variable
path.
ml64.exe is located in C:\Program Files (x86)\Microsoft Visual Studio
8\VC\bin\x86_amd64\.
- Execute: ms\do_win64a.bat.
- Generate OpenSSL dynamic libraries: nmake -f ms\ntdll.mak.
New libraries libeay32.dll and ssleay32.dll are created in the openssl-x.x.x/out32dll
directory.