Flash Media Server and its components use OpenSSL libraries for various functions internally. Until now, all the previous Flash Media Server releases have statically linked to the OpenSSL libraries. This static linking made it impossible for users to manually upgrade the OpenSSL libraries.
With the latest Flash Media Server (versions 3.5.6 or later and 4.0.2 or later), you can compile the OpenSSL libraries and apply them to Flash Media Server. Flash Media Server 3.5.6 and 4.0.2 added OpenSSL version1.0.0c as a dynamic or shared library. This TechNote explains how to compile the OpenSSL libraries and integrate them in Flash Media Server.
Download OpenSSL source from http://www.openssl.org/source/. Extract the source (.tar.gz) to a suitable location.
Note: Use VS2005 command prompt if building OpenSSL for Flash Media Server 3.5.6 (or later) and VS 2008 if building for Flash Media Server 4.0.2 (or later). When using VS 2005, make sure that you have fresh OS with VC80 CRT version no greater than 8.0.50727.762. A 64-bit OS is recommended for compiling 64-bit libraries with the 64-bit VS.
Run the following commands for configuring the build. Also see the README.txt in OpenSSL root folder.
perl Configure VC-WIN32 --prefix=e:\ssl\OpenSSL\dir ms\do_nasm.bat
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak test
If not present on the machine install Perl, nmake, and the Microsoft SDK.
OpenSSL libraries are copied to the following folder: \out32dll
Copy OpenSSL libraries (ssleay32.dll and libeay32.dll) and their associated manifest files to the Flash Media Server installation directory.
Configure VC-WIN64A--prefix=e:\ssl\OpenSSL\dir ms\do_win64a.bat
nmake -f ms\ntdll.mak 
cd out32dll
..\ms\test.bat
OpenSSL libraries are copied to the following folder: \out32dll.
Copy OpenSSL libraries, ssleay32.dll and libeay32.dl,l and along with their associated manifest files to the Flash Media Server installation directory.
Open command prompt.
Make sure that the default compiler is GCC 3.4.3 when compiling OpenSSL for Flash Media Server 3.5.6 (or later). Use the GCC 4.1.2 compiler when compiling OpenSSL for Flash Media Server 4.0.2 (or later).
Go to OpenSSL root folder and issue following commands:
Make sure that /usr/local/ssl is clean, empty, and writable as the install copies all the files to this folderStep text
./config shared -fPIC
make
make test
make install
The OpenSSL binaries (and symbolic links) are installed to /usr/local/ssl. The shared library names are libcrypto.so.1.0.0 and libssl.so.1.0.0. Copy them to the Flash Media Server installation directory.
Sign in to your account