Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Nginx work with updated openssl

Tags:

nginx

openssl

I upgrade openssl to 1.0.0 from 0.9.8 on a Linux Ubuntu server. It is installed in /usr/local/ssl. Nginx was compiled with openssl 0.9.8. How to get Nginx to link to the updated version of openssl?

like image 446
user1558297 Avatar asked Mar 19 '26 07:03

user1558297


1 Answers

You can either recompile nginx, passing the --with-openssl=/usr/local/ssl option to configure, or you can use LD_LIBRARY_PATH when starting nginx, doing something like "LD_LIBRARY_PATH=/usr/local/ssl:$LD_LIBRARY_PATH /usr/sbin/nginx" .

like image 123
Remi Gacogne Avatar answered Mar 21 '26 15:03

Remi Gacogne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!