# Can't get SPDY working with OpenSSL 1.0.1e

**URL:** <https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926>\
**Category:** NGINX\
**Created:** [July 30, 2013, 3:52pm UTC](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926 "2013-07-30T15:52:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [July 30, 2013, 3:52pm UTC](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926/1 "2013-07-30T15:52:55Z")

</div>

Hi,

I simply read every article on the net, followed the docs but simply  
can’t  
get SPDY support working.

It’s running on Debian Squeeze (that I have to) so I upgraded OpenSSL to  
the version 1.0.1e from Wheezy repo. Downloaded the latest stable Nginx  
1.4.2 then compiled with the configuration options:

./configure   
–with-ipv6   
–with-http\_ssl\_module   
–with-http\_spdy\_module   
–with-http\_gzip\_static\_module   
–with-http\_geoip\_module

Configuration summary

- using system PCRE library
- using system OpenSSL library
- md5: using OpenSSL library
- sha1: using OpenSSL library
- using system zlib library

Please note that it’s listening on “IP:443 ssl spdy” as the server has  
more  
than one IP and SSL running websites. SSL works fine and compiling  
didn’t  
complain about anything at all.

# /usr/local/nginx/sbin/nginx -V

nginx version: nginx/1.4.2  
built by gcc 4.4.5 (Debian 4.4.5-8)  
TLS SNI support enabled  
configure arguments: --with-ipv6 --with-http\_ssl\_module  
–with-http\_spdy\_module --with-http\_gzip\_static\_module  
–with-http\_geoip\_module

Well, I get the warning message on boot:

Starting nginx: nginx: [warn] nginx was built without OpenSSL NPN  
support,  
SPDY is not enabled for xxxx.

Any help is much appreciated.  
Roy

---

<div class="post-metadata">

**Author:** ![kirpit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/d9b06d/32.png) [@kirpit](https://www.ruby-forum.com/u/kirpit)\
**Post date:** [July 30, 2013, 5:15pm UTC](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926/2 "2013-07-30T17:15:55Z")

</div>

On Tuesday 30 July 2013 17:51:21 kirpit wrote:

> –with-ipv6 \
> 
> - using system zlib library  
> –with-http\_spdy\_module --with-http\_gzip\_static\_module  
> –with-http\_geoip\_module
> 
> Well, I get the warning message on boot:
> 
> Starting nginx: nginx: [warn] nginx was built without OpenSSL NPN support,  
> SPDY is not enabled for xxxx.
> 
> Any help is much appreciated.

You have upgraded OpenSSL binary, but its headers are still from the old  
version. Please look at the libssl-dev package to ensure that its  
version  
is in sync with your openssl.

wbr, Valentin V. Bartenev

–

> **[nginx: donation](http://nginx.org/en/donation.html)**

---

<div class="post-metadata">

**Author:** ![kirpit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/d9b06d/32.png) [@kirpit](https://www.ruby-forum.com/u/kirpit)\
**Post date:** [July 30, 2013, 5:27pm UTC](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926/3 "2013-07-30T17:27:01Z")

</div>

This was quite tricky!

# apt-show-versions libssl-dev

libssl-dev/wheezy upgradeable from 0.9.8o-4squeeze14 to 1.0.1e-2

Thanks a lot for the help mate.

---

<div class="post-metadata">

**Author:** ![kirpit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/d9b06d/32.png) [@kirpit](https://www.ruby-forum.com/u/kirpit)\
**Post date:** [July 30, 2013, 8:54pm UTC](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926/4 "2013-07-30T20:54:27Z")

</div>

Hi.  
If you compile nginx yourself, its not necessary to update system  
libraries  
You can use openssl 1.0.1 source and use  
–with-openssl=/var/tmp/openssl-1.0.1e  
switch to configure options, where folder is the path where you unpacked  
the  
source,  
nginx will configure and compile openssl as static library while  
building  
nginx and then will link it into nginx

~GL

Posted at Nginx Forum:

> **[Re: Can't get SPDY working with OpenSSL 1.0.1e](https://forum.nginx.org/read.php?2,241381,241386#msg-241386)**
>
> Hi, I simply read every article on the net, followed the docs but simply can't get SPDY support working. It's running on Debian Squeeze (that I have to) so I upgraded OpenSSL to the version 1.0.1e from Wheezy repo. Downloaded the latest stable Nginx...
