Actions

Help

Difference between revisions of "Install:OpenLiteSpeed with SPDY Installation Notes"

From OpenLiteSpeed Wiki

Line 1: Line 1:
 
== Install OpenSSL 1.0.1 ==
 
== Install OpenSSL 1.0.1 ==
SPDY requires OpenSSL 1.0.1 or higher. If your system does not have a high enough version of OpenSSL, it can be downloaded from the [http://www.openssl.org/source/ OpenSSL site]. For CentOS 5 & CentOS 6 users, you need to manually install OpenSSL 1.0.1.
+
SPDY requires OpenSSL 1.0.1 or higher. If your system does not have a high enough version of OpenSSL, it can be downloaded from the [http://www.openssl.org/source/ OpenSSL site]. Specifically, CentOS 5 and CentOS 6 do not come with OpenSSL 1.0.1.
  
Upgrading OpenSSL can cause problems in your system, so it is not recommended to replace your current version of OpenSSL if you have a version lower than 1.0.1. Instead, we recommend that you install OpenSSL in a separate directory where it can be used specifically for OpenLiteSpeed. You can then direct OpenLiteSpeed to this directory during installation of OpenLiteSpeed 1.1.
+
Upgrading OpenSSL can cause problems in your system, so it is not recommended to replace your current version of OpenSSL if you have a version lower than 1.0.1. Instead, we recommend that you install OpenSSL in a separate directory where it can be used specifically for OpenLiteSpeed. You can then direct OpenLiteSpeed to this directory during installation of OpenLiteSpeed. Use the <code>--openssldir</code> configuration option shown below:
  
 
<blockquote><pre>
 
<blockquote><pre>
cd openssl-1.0.1e
+
./configure --prefix=/usr/local --openssldir=/usr/local/openssl
./config --prefix=/usr/local --openssldir=/usr/local/openssl
 
 
make
 
make
 
make install
 
make install
 
</pre></blockquote>
 
</pre></blockquote>
  
The above series of commands directs OpenLiteSpeed to look for the copy of OpenSSL in /usr/local/. You can customize this to wherever you wish.
+
The above series of commands directs OpenLiteSpeed to look for your copy of OpenSSL in <code>/usr/local/openssl</code>. You can customize this to wherever you have installed OpenSSL 1.0.1.
  
 
== Enabling SPDY ==
 
== Enabling SPDY ==

Revision as of 14:34, 31 July 2013

Install OpenSSL 1.0.1

SPDY requires OpenSSL 1.0.1 or higher. If your system does not have a high enough version of OpenSSL, it can be downloaded from the OpenSSL site. Specifically, CentOS 5 and CentOS 6 do not come with OpenSSL 1.0.1.

Upgrading OpenSSL can cause problems in your system, so it is not recommended to replace your current version of OpenSSL if you have a version lower than 1.0.1. Instead, we recommend that you install OpenSSL in a separate directory where it can be used specifically for OpenLiteSpeed. You can then direct OpenLiteSpeed to this directory during installation of OpenLiteSpeed. Use the --openssldir configuration option shown below:

./configure --prefix=/usr/local --openssldir=/usr/local/openssl
make
make install

The above series of commands directs OpenLiteSpeed to look for your copy of OpenSSL in /usr/local/openssl. You can customize this to wherever you have installed OpenSSL 1.0.1.

Enabling SPDY

SPDY module is not compiled in by default.

To add SPDY support, you need to add the configure option --enable-spdy and run the configure script and build a new binary.

Once SPDY module is built in, you can use "Enable SPDY" setting from WebAdmin Listener - SSL configuration tab. You can specify enable SPDY/2 or SPDY/3 or disable SPDY. Default is enable both SPDY/2 and SPDY/3.