Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

error --with-http_ssl_module', exiting and error: SSL modules require the OpenSSL #1419

Closed
wyly44 opened this issue May 17, 2017 · 4 comments

Comments

@wyly44
Copy link

wyly44 commented May 17, 2017

Hello
I want to migrate from http to https and have http / 2
Do I have to activate this module or is it not necessary?

--with-http_ssl_module
About to configure nginx with:
./configure --add-dynamic-module=/root/ngx_pagespeed-latest-stable --with-http_ssl_module
Does this look right? [Y/n] y

I have used the automatic installation and I have also tried manually to install the libraries

sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip

bash <(curl -f -L -sS https://ngxpagespeed.com/install) \

 --nginx-version latest --dynamic-module

Do I need to install any more modules?

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option.

Error: Failure running './configure --add-dynamic-module=/root/ngx_pagespeed-latest-stable --with-http_ssl_module', exiting.

thanks

@oschaaf
Copy link
Member

oschaaf commented May 17, 2017

You need to install the libssl-dev package if you want to have ssl support in nginx.

@oschaaf
Copy link
Member

oschaaf commented Jun 10, 2017

Closing this, feel free to reopen if there's a problem with ngx_pagespeed

@oschaaf oschaaf closed this as completed Jun 10, 2017
@locvfx
Copy link

locvfx commented Dec 6, 2018

yum install -y openssl-devel

@StathisIoannidis
Copy link

@oschaaf
Can you please elaborate on above comment "You need to install the libssl-dev package if you want to have ssl support in nginx."
I spent the entire morning trying to add a third party module to Nginx(ngx_http_ssl_module), as Im getting --
nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module --.
Would installing libssl-dev package solve my issue?

Thanks a lot !!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants