about ssl support of nginx

Maxim Dounin mdounin at mdounin.ru
Thu May 14 16:21:44 UTC 2015


Hello!

On Wed, May 13, 2015 at 10:26:07PM -0400, hy05190134 wrote:

> we use "--with-http_spdy_module --with-http_ssl_module
> --with-openssl=$(ROOTDIR)/deps/openssl-$(V_OPE     NSSL)
> --with-openssl-opt=darwin64-x86_64-cc" to embed ssl support into nginx in
> macos system , but we find that "./config" which is in the file of
> nginx/auto/lib/openssl/make doesn't  make action, but "./Configure" can be
> run successfully.
> 
> So, is it the problem of nginx or openssl, in my option, ssl doesn't take
> macos  into account for embedded nginx.

There are two basic options:

- define KERNEL_BITS environment variable to 64 to instruct OpenSSL's 
  ./config to do the right thing;

- build OpenSSL yourself with any options you want (or, e.g., 
  install one from MacPorts), and then instruct nginx to use 
  appropriate headers and library files using the "--with-cc-opt" 
  and "--with-ld-opt" configure options.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list