Security/Server Side TLS: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 512: Line 512:
</pre>
</pre>
The script build_static_nginx.sh takes care of the rest. It should work out of the box, but you might have to edit the paths if you have different versions of the libraries. I builds a static version of OpenSSL into Nginx, so you don't have to install the openssl libs afterward.
The script build_static_nginx.sh takes care of the rest. It should work out of the box, but you might have to edit the paths if you have different versions of the libraries. I builds a static version of OpenSSL into Nginx, so you don't have to install the openssl libs afterward.
<code bash>
 
<source lang="bash">
#!/usr/bin/env bash
#!/usr/bin/env bash
export BPATH=$(pwd)
export BPATH=$(pwd)
export STATICLIBSSL="$BPATH/staticlibssl"
export STATICLIBSSL="$BPATH/staticlibssl"
 
#-- Build static openssl
#-- Build static openssl
cd $BPATH/openssl-1.0.1e
cd $BPATH/openssl-1.0.1e
Line 526: Line 527:
&& make \
&& make \
&& make install_sw
&& make install_sw
 
#-- Build nginx
#-- Build nginx
hg clone http://hg.nginx.org/nginx
hg clone http://hg.nginx.org/nginx
Line 551: Line 552:
     echo -e "\nNginx binary build in $BPATH/opt/nginx/sbin/nginx\n"
     echo -e "\nNginx binary build in $BPATH/opt/nginx/sbin/nginx\n"
fi
fi
</code>
</source>


=== Server Name Identification ===
=== Server Name Identification ===
Confirmed users
529

edits

Navigation menu