# Install with ssl

**URL:** <https://www.ruby-forum.com/t/install-with-ssl/202696>\
**Category:** NGINX\
**Created:** [February 3, 2011, 8:06pm UTC](https://www.ruby-forum.com/t/install-with-ssl/202696 "2011-02-03T20:06:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [February 3, 2011, 8:06pm UTC](https://www.ruby-forum.com/t/install-with-ssl/202696/1 "2011-02-03T20:06:14Z")

</div>

I want to install nginx with support for ssl. I know how to do that.

–with-http\_ssl\_module --with-openssl=/…

I’m uncertain what path I should use for the last argument.

I have openssl installed on Debian. which openssl gives  
/usr/bin/openssl. Is this the path I should enter?

Or is it OPENSSLDIR: “/usr/lib/ssl”

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [February 3, 2011, 8:19pm UTC](https://www.ruby-forum.com/t/install-with-ssl/202696/2 "2011-02-03T20:19:06Z")

</div>

On Thu, Feb 03, 2011 at 08:06:14PM +0100, Paul B. wrote:

> Or is it OPENSSLDIR: “/usr/lib/ssl”  
> ./configure --help| grep openssl=  
> –with-openssl=DIR set path to OpenSSL library sources

This option is required only if you want to built OpenSSL library from  
sources. It is not needed If you want to use already installed library.  
If you use standard Debian OpenSSL package, then you need only  
–with-http\_ssl\_module option: nginx’s ./configure should find by itself  
OpenSSL library.

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [February 3, 2011, 8:45pm UTC](https://www.ruby-forum.com/t/install-with-ssl/202696/3 "2011-02-03T20:45:52Z")

</div>

Igor S. wrote in post #979469:

> This option is required only if you want to built OpenSSL library from  
> sources. It is not needed If you want to use already installed library.  
> If you use standard Debian OpenSSL package, then you need only  
> –with-http\_ssl\_module option: nginx’s ./configure should find by itself  
> OpenSSL library.

Thanks 🙂
